Spaces:
Runtime error
Runtime error
Hotfix #1 (#2)
Browse files- SQLite3 fix db_instance on websocket creation (02d005f43c6bdd4cca6be21e71b67c0306f2a5be)
Co-authored-by: Trương Tấn Cường <tosanoob@users.noreply.huggingface.co>
- chat/model_manage.py +1 -1
chat/model_manage.py
CHANGED
@@ -84,7 +84,7 @@ def make_answer_prompt(input, contexts):
|
|
84 |
|
85 |
return prompt
|
86 |
|
87 |
-
def response(args):
|
88 |
"""Create response context, based on input arguments"""
|
89 |
keys = list(dict.keys(args))
|
90 |
if "answer" in keys:
|
|
|
84 |
|
85 |
return prompt
|
86 |
|
87 |
+
def response(args, db_instance):
|
88 |
"""Create response context, based on input arguments"""
|
89 |
keys = list(dict.keys(args))
|
90 |
if "answer" in keys:
|