AWS-ANSWER-BOT commited on
Commit
0624d74
·
verified ·
1 Parent(s): 70b4a08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,5 +35,5 @@ with gr.Blocks() as demo:
35
  send = gr.Button("Ask")
36
  send.click(predict, inputs=user, outputs=bot)
37
 
38
- demo.queue(concurrency_count=NUM_THREADS)
39
  demo.launch(server_name="0.0.0.0", server_port=7860)
 
35
  send = gr.Button("Ask")
36
  send.click(predict, inputs=user, outputs=bot)
37
 
38
+ demo.queue(default_concurrency_limit=NUM_THREADS)
39
  demo.launch(server_name="0.0.0.0", server_port=7860)