Update app.py
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ with gr.Blocks() as demo:
|
|
| 141 |
|
| 142 |
# Event handler for uploading a PDF
|
| 143 |
btn.upload(fn=upload_pdf, inputs=[btn], outputs=[output])
|
| 144 |
-
txt.submit(run_query, [chatbot, txt], [chatbot, txt]
|
| 145 |
#.then(
|
| 146 |
# generate_response, inputs =[chatbot,],outputs = chatbot,)
|
| 147 |
|
|
|
|
| 141 |
|
| 142 |
# Event handler for uploading a PDF
|
| 143 |
btn.upload(fn=upload_pdf, inputs=[btn], outputs=[output])
|
| 144 |
+
txt.submit(run_query, [chatbot, txt], [chatbot, txt])
|
| 145 |
#.then(
|
| 146 |
# generate_response, inputs =[chatbot,],outputs = chatbot,)
|
| 147 |
|