mirror of
https://github.com/sean1832/GPT-Brain
synced 2024-11-18 21:25:53 +00:00
17 lines
507 B
Python
17 lines
507 B
Python
import os
|
|
from modules import utilities as util
|
|
|
|
user_dir = r'.user'
|
|
|
|
|
|
def create():
|
|
# create brain data
|
|
util.create_json_not_exist(f'{user_dir}/brain-data.json', [])
|
|
print(f'brain data created: {user_dir}/brain-data.json')
|
|
# create brain memo
|
|
util.create_json_not_exist(f'{user_dir}/brain-memo.json',
|
|
{'note_dir': '', 'delimiter': '', 'append_mode': False, 'force_mode': False})
|
|
print(f'brain memo file created: {user_dir}/brain-memo.json')
|
|
|
|
create()
|