Spaces:
Sleeping
Sleeping
clementsan
commited on
Commit
•
3b27ad5
1
Parent(s):
f8033f1
Fix lambda function outputs
Browse files
app.py
CHANGED
@@ -303,7 +303,7 @@ def demo():
|
|
303 |
outputs=[vector_db, collection_name, db_progress])
|
304 |
qachain_btn.click(initialize_LLM, \
|
305 |
inputs=[llm_btn, slider_temperature, slider_maxtokens, slider_topk, vector_db], \
|
306 |
-
outputs=[qa_chain, llm_progress]).then(lambda:[None,"",0,"",0], \
|
307 |
inputs=None, \
|
308 |
outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
309 |
queue=False)
|
|
|
303 |
outputs=[vector_db, collection_name, db_progress])
|
304 |
qachain_btn.click(initialize_LLM, \
|
305 |
inputs=[llm_btn, slider_temperature, slider_maxtokens, slider_topk, vector_db], \
|
306 |
+
outputs=[qa_chain, llm_progress]).then(lambda:[None,"",0,"",0,"",0], \
|
307 |
inputs=None, \
|
308 |
outputs=[chatbot, doc_source1, source1_page, doc_source2, source2_page, doc_source3, source3_page], \
|
309 |
queue=False)
|