Update app.py
Browse files
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,
|
|
|
|
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 |
+
|