Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -55,4 +55,5 @@ def chat():
|
|
| 55 |
initial_response = llm_chain.run(user_query)
|
| 56 |
#return jsonify({'response': initial_response})
|
| 57 |
#找到问题了:jsonify在Huggingface不支持;在Github然后部署到Render是可以的!
|
| 58 |
-
return {'response': initial_response}
|
|
|
|
|
|
| 55 |
initial_response = llm_chain.run(user_query)
|
| 56 |
#return jsonify({'response': initial_response})
|
| 57 |
#找到问题了:jsonify在Huggingface不支持;在Github然后部署到Render是可以的!
|
| 58 |
+
#return {'response': initial_response}
|
| 59 |
+
return jsonify({'response': initial_response})
|