Dynamic path to database
ericwhiteau opened this issue · comments
Hi J,
I downloaded Autogroq to test it out.
I had an issue with it not connecting to the Autogenstudio database.
I see you had it hard coded in config.py.
here is the update to make that dynamic.
#get user home directory
import os
home_dir = os.path.expanduser("~")
Database path
AUTOGEN_DB_PATH = f'{home_dir}/.autogenstudio/database.sqlite'
Done! Thanks again...