Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ with gr.Blocks(css=css) as demo:
|
|
69 |
|
70 |
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
71 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, openai_key], outputs=[langchain_status], queue=False)
|
72 |
-
|
73 |
|
74 |
|
75 |
demo.launch()
|
|
|
69 |
|
70 |
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
71 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, openai_key], outputs=[langchain_status], queue=False)
|
72 |
+
submit_btn.click(answer_query,question,chatbot)
|
73 |
|
74 |
|
75 |
demo.launch()
|