This commit is contained in:
.[d]. 2023-03-15 15:15:40 -05:00
parent 580e42e3fc
commit 72bbb02dc9

@ -28,6 +28,18 @@ if SERVICES_OPENAI:
#######################################################################################
dir_path = os.path.dirname(os.path.realpath(__file__))
#######################################################################################
#######################################################################################
PATH='%s/../personalities' % dir_path
FILE='%s/../personalities/default.db' % dir_path
if not os.path.exists(PATH):
os.mkdir(PATH)
if not os.path.exists(FILE):
f=open(FILE,'w')
f.write("")
f.close()
#######################################################################################
#######################################################################################