Zulelee commited on
Commit
94b60cf
1 Parent(s): 2eba8f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."