Spaces:
Running
Running
clementsan
commited on
Commit
•
f8033f1
1
Parent(s):
8bef1bd
Fix clear button outputs
Browse files
app.py
CHANGED
@@ -317,7 +317,7 @@ def demo():
|
|
317 |
inputs=[qa_chain, msg, chatbot], \
|
318 |
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
319 |
queue=False)
|
320 |
-
clear_btn.click(lambda:[None,"",0,"",0], \
|
321 |
inputs=None, \
|
322 |
outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
323 |
queue=False)
|
|
|
317 |
inputs=[qa_chain, msg, chatbot], \
|
318 |
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
319 |
queue=False)
|
320 |
+
clear_btn.click(lambda:[None,"",0,"",0,"",0], \
|
321 |
inputs=None, \
|
322 |
outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
323 |
queue=False)
|