diff options
author | Alexander_Kabui | 2024-03-25 15:25:00 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-03-25 15:25:00 +0300 |
commit | dd56cc247a42ec27bdf198fcb4d6d819c5138918 (patch) | |
tree | 73beb420e3aac9ce99fb051cf80281c09a482172 /gn3/api | |
parent | 7b64fe40308f3a5883be6eb9d3f195ac9b682d9f (diff) | |
download | genenetwork3-dd56cc247a42ec27bdf198fcb4d6d819c5138918.tar.gz |
use data dir for files
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/llm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index aff01cb..d22a42c 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -73,7 +73,7 @@ def rating(task_id): results.get("query"), results.get("answer"), results.get("weight", 0)) - with db.connection(current_app.config["GNQA_DB"]) as conn: + with db.connection(current_app.config["DATA_DIR"]) as conn: cursor = conn.cursor() create_table = """CREATE TABLE IF NOT EXISTS Rating( user_id INTEGER NOT NULL, |