sultan-hassan commited on
Commit
7cc5c7f
·
verified ·
1 Parent(s): 15411db

Update app.py

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