Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def launch(message):
|
|
| 52 |
#return out[ind:]
|
| 53 |
|
| 54 |
# This is to convert QA system to a chatbot
|
| 55 |
-
return chat.send_message(message)
|
| 56 |
|
| 57 |
iface = gr.Interface(launch,
|
| 58 |
inputs="text",
|
|
|
|
| 52 |
#return out[ind:]
|
| 53 |
|
| 54 |
# This is to convert QA system to a chatbot
|
| 55 |
+
return chat.send_message(message) + "\nhistory\n" + chat.get_history()
|
| 56 |
|
| 57 |
iface = gr.Interface(launch,
|
| 58 |
inputs="text",
|