You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GPT-Brain/web_ui/initial_file_creator.py

13 lines
370 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')
# create brain memo
util.create_json_not_exist(f'{user_dir}/brain-memo.json',
{'note_dir': '', 'delimiter': '', 'append_mode': 'False', 'force_mode': 'False'})