Spaces:
Runtime error
Runtime error
Commit 路
c660332
1
Parent(s): be742f9
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,12 +57,12 @@ def chat():
|
|
| 57 |
initial_response = llm_chain.run(user_query)
|
| 58 |
print("API Call Output:"+initial_response)
|
| 59 |
|
| 60 |
-
|
| 61 |
#Working!!!
|
| 62 |
|
| 63 |
-
output=jsonify({'response': initial_response})
|
| 64 |
#鍦╮eturn涔嬪墠鎵цjsonify鏂规硶锛孫Ked
|
| 65 |
-
return output
|
| 66 |
#Working!!!
|
| 67 |
|
| 68 |
#return jsonify({'response': initial_response})
|
|
|
|
| 57 |
initial_response = llm_chain.run(user_query)
|
| 58 |
print("API Call Output:"+initial_response)
|
| 59 |
|
| 60 |
+
return {'response': initial_response}
|
| 61 |
#Working!!!
|
| 62 |
|
| 63 |
+
#output=jsonify({'response': initial_response})
|
| 64 |
#鍦╮eturn涔嬪墠鎵цjsonify鏂规硶锛孫Ked
|
| 65 |
+
#return output
|
| 66 |
#Working!!!
|
| 67 |
|
| 68 |
#return jsonify({'response': initial_response})
|