Ubai commited on
Commit
72f6344
·
verified ·
1 Parent(s): 22d9b85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,4 +91,5 @@ def demo():
91
  # Chatbot events
92
  msg.submit(conversation, inputs=[qa_chain, msg, chatbot])
93
  submit_btn.click(conversation, inputs=[qa_chain, msg, chatbot])
94
- clear_btn.click(lambda: [None, "", 0, "", 0, "", 0], inputs=None, outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_
 
 
91
  # Chatbot events
92
  msg.submit(conversation, inputs=[qa_chain, msg, chatbot])
93
  submit_btn.click(conversation, inputs=[qa_chain, msg, chatbot])
94
+ clear_btn.click(lambda: [None, "", 0, "", 0, "", 0], inputs=None, outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page])
95
+