xmrt commited on
Commit
0814c1f
·
1 Parent(s): f42f5c2

no concurrency

Browse files
Files changed (1) hide show
  1. main_noweb.py +2 -2
main_noweb.py CHANGED
@@ -270,8 +270,8 @@ with block:
270
 
271
  if __name__ == "__main__":
272
  block.queue(
273
- concurrency_count=40, # When you increase the concurrency_count parameter in queue(), max_threads() in launch() is automatically increased as well.
274
- max_size=25, # Maximum number of requests that the queue processes
275
  api_open = False # When creating a Gradio demo, you may want to restrict all traffic to happen through the user interface as opposed to the programmatic API that is automatically created for your Gradio demo.
276
  ).launch(
277
  #enable_queue=True,
 
270
 
271
  if __name__ == "__main__":
272
  block.queue(
273
+ #concurrency_count=40, # When you increase the concurrency_count parameter in queue(), max_threads() in launch() is automatically increased as well.
274
+ #max_size=25, # Maximum number of requests that the queue processes
275
  api_open = False # When creating a Gradio demo, you may want to restrict all traffic to happen through the user interface as opposed to the programmatic API that is automatically created for your Gradio demo.
276
  ).launch(
277
  #enable_queue=True,