dammy commited on
Commit
5f3fdac
·
1 Parent(s): b88b1f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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], queue=False)
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