Update app.py
Browse files
app.py
CHANGED
@@ -139,8 +139,8 @@ with gr.Blocks() as demo:
|
|
139 |
clear = gr.ClearButton([prompt_msg, chatbot])
|
140 |
|
141 |
#upload_pdfs.upload(augment_llm_with_docs, inputs=upload_pdfs)
|
142 |
-
load_pdfs.click(loading_pdf_message, None, status_vec_db
|
143 |
-
load_pdfs.click(augment_llm_with_docs, inputs=upload_pdfs, outputs=status_vec_db
|
144 |
submit_btn.click(respond, inputs=[prompt_msg, chatbot], outputs=[prompt_msg, chatbot])
|
145 |
prompt_msg.submit(respond, inputs=[prompt_msg, chatbot], outputs=[prompt_msg, chatbot])
|
146 |
|
|
|
139 |
clear = gr.ClearButton([prompt_msg, chatbot])
|
140 |
|
141 |
#upload_pdfs.upload(augment_llm_with_docs, inputs=upload_pdfs)
|
142 |
+
load_pdfs.click(loading_pdf_message, None, status_vec_db)
|
143 |
+
load_pdfs.click(augment_llm_with_docs, inputs=upload_pdfs, outputs=status_vec_db)
|
144 |
submit_btn.click(respond, inputs=[prompt_msg, chatbot], outputs=[prompt_msg, chatbot])
|
145 |
prompt_msg.submit(respond, inputs=[prompt_msg, chatbot], outputs=[prompt_msg, chatbot])
|
146 |
|