Updata database - add relational database
This commit is contained in:
Binary file not shown.
0
Database/relational_database.py
Normal file
0
Database/relational_database.py
Normal file
@@ -16,7 +16,7 @@ app.add_middleware(
|
|||||||
)
|
)
|
||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
DB_FILE = os.path.join(BASE_DIR, "archivium.db")
|
DB_FILE = os.path.join(BASE_DIR, "assets.db")
|
||||||
MODEL_DIR = os.path.join(BASE_DIR, "local_model_miniLM")
|
MODEL_DIR = os.path.join(BASE_DIR, "local_model_miniLM")
|
||||||
|
|
||||||
if not os.path.exists(MODEL_DIR):
|
if not os.path.exists(MODEL_DIR):
|
||||||
Reference in New Issue
Block a user