Spaces:
Runtime error
Runtime error
Commit ·
5f25add
1
Parent(s): c660332
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def chat():
|
|
| 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})
|
|
@@ -65,7 +65,7 @@ def chat():
|
|
| 65 |
#return output
|
| 66 |
#Working!!!
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
if __name__ == '__main__':
|
| 71 |
#app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7860)))
|
|
|
|
| 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})
|
|
|
|
| 65 |
#return output
|
| 66 |
#Working!!!
|
| 67 |
|
| 68 |
+
return jsonify({'response': initial_response})
|
| 69 |
|
| 70 |
if __name__ == '__main__':
|
| 71 |
#app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7860)))
|