Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks() as demo:
|
|
79 |
clear_button = gr.ClearButton([input_txt, chatbot])
|
80 |
# Backend Process:
|
81 |
file_msg = upload_btn.upload(fn=UploadFile.process_uploaded_files, inputs=[
|
82 |
-
upload_btn, chatbot, rag_with_dropdown
|
83 |
|
84 |
txt_msg = input_txt.submit(fn=ChatBot.respond,
|
85 |
inputs=[chatbot,
|
|
|
79 |
clear_button = gr.ClearButton([input_txt, chatbot])
|
80 |
# Backend Process:
|
81 |
file_msg = upload_btn.upload(fn=UploadFile.process_uploaded_files, inputs=[
|
82 |
+
upload_btn, chatbot, rag_with_dropdown], outputs=[input_txt, chatbot], queue=False)
|
83 |
|
84 |
txt_msg = input_txt.submit(fn=ChatBot.respond,
|
85 |
inputs=[chatbot,
|