ysharma HF Staff commited on
Commit
43190be
·
1 Parent(s): 94621a1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,5 +62,5 @@ def predict(user_input, chatbot):
62
  #return "", chatbot, None #"", chatbot
63
  return bot_message
64
 
65
- #chatbot = gr.Chatbot()
66
- gr.ChatInterface(predict, delete_last_btn="del").launch(share=False, debug=True) #examples=["How are you?", "What's up?"],
 
62
  #return "", chatbot, None #"", chatbot
63
  return bot_message
64
 
65
+ chatbot = gr.Chatbot()
66
+ gr.ChatInterface(predict, chatbot=chatbot, delete_last_btn="del").launch(share=False, debug=True) #examples=["How are you?", "What's up?"],