Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ def chatbot(input_text, history=conversation_history):
|
|
| 115 |
history.append((input_text, response.response))
|
| 116 |
|
| 117 |
# return the response and updated conversation history
|
| 118 |
-
return response.response, history
|
| 119 |
|
| 120 |
with open('about.txt', 'r') as file:
|
| 121 |
about = file.read()
|
|
|
|
| 115 |
history.append((input_text, response.response))
|
| 116 |
|
| 117 |
# return the response and updated conversation history
|
| 118 |
+
return [(input_text, response.response)], history
|
| 119 |
|
| 120 |
with open('about.txt', 'r') as file:
|
| 121 |
about = file.read()
|