xmrt commited on
Commit
7c1e71d
·
1 Parent(s): 8f31dbb

tracking w concurrency 20

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,8 +148,8 @@ with block:
148
 
149
 
150
  if __name__ == "__main__":
151
- block.queue(#concurrency_count=5, # When you increase the concurrency_count parameter in queue(), max_threads() in launch() is automatically increased as well.
152
- #max_size=25, # Maximum number of requests that the queue processes
153
  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.
154
  ).launch()
155
 
 
148
 
149
 
150
  if __name__ == "__main__":
151
+ block.queue(concurrency_count=20, # When you increase the concurrency_count parameter in queue(), max_threads() in launch() is automatically increased as well.
152
+ max_size=30, # Maximum number of requests that the queue processes
153
  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.
154
  ).launch()
155