Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def chat(message, history):
|
|
25 |
|
26 |
try:
|
27 |
response = query_engine.query(message)
|
28 |
-
return response
|
29 |
except Exception as e:
|
30 |
print(f"Error generating response: {e}")
|
31 |
return "I'm still learning how to answer that question. Please try asking something else."
|
|
|
25 |
|
26 |
try:
|
27 |
response = query_engine.query(message)
|
28 |
+
return str(response)
|
29 |
except Exception as e:
|
30 |
print(f"Error generating response: {e}")
|
31 |
return "I'm still learning how to answer that question. Please try asking something else."
|