diff options
author | Alexander_Kabui | 2024-05-01 02:33:39 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-05-01 02:33:39 +0300 |
commit | d5c93b634ed0eedc626928254dcbd57ad859a423 (patch) | |
tree | 995a5c1e1f58826acb778818b8c9fa955dfb63ca /gn3/api | |
parent | 4e265a10e8ff528d195954dd44d51f511e881ccd (diff) | |
download | genenetwork3-d5c93b634ed0eedc626928254dcbd57ad859a423.tar.gz |
Debug Process for LLM_DB_PATH
* this commit is a debugging process for llm_path on cd
* issue: writes to db but not correct path
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/llm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index b1eead9..5a694a3 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -86,7 +86,8 @@ def rating(task_id): """, (str(user_id), query, answer, weight, task_id)) return { "message": "success", - "status": 0 + "status": 0, + "llm_db_path": LLM_DB_PATH }, 200 except sqlite3.Error as error: return jsonify({"error": str(error), "user": token.user.user_id, |