anasmkh commited on
Commit
8ac1d4d
·
verified ·
1 Parent(s): 2c0d1c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ print(response['answer'])
69
  def chat_with_ai(user_input, chat_history):
70
  response = conversational_chain.invoke({"question":user_input})
71
 
72
- chat_history.append((user_input, str(response)))
73
 
74
  return chat_history, ""
75
 
 
69
  def chat_with_ai(user_input, chat_history):
70
  response = conversational_chain.invoke({"question":user_input})
71
 
72
+ chat_history.append((user_input, str(response['answer'])))
73
 
74
  return chat_history, ""
75