KalooAI commited on
Commit
7f73068
·
verified ·
1 Parent(s): f66ee69

Update app.py

Browse files

remove concurency

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -201,8 +201,7 @@ with gr.Blocks(title="PDF Q&A Chatbot") as demo:
201
  pdf_input.upload(load_pdf, inputs=[pdf_input, state], outputs=[pdf_status, state])
202
  ask_button.click(answer_question, inputs=[question, state], outputs=answer)
203
 
204
- # Limit concurrency (HF-compatible)
205
- demo.queue(max_size=32, concurrency=1)
206
 
207
  if __name__ == "__main__":
208
  demo.launch()
 
201
  pdf_input.upload(load_pdf, inputs=[pdf_input, state], outputs=[pdf_status, state])
202
  ask_button.click(answer_question, inputs=[question, state], outputs=answer)
203
 
204
+
 
205
 
206
  if __name__ == "__main__":
207
  demo.launch()