Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|