FractalAIR commited on
Commit
519bd98
·
verified ·
1 Parent(s): d50edab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -224,11 +224,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
224
  #demo.launch(share=True, ssr_mode=False)
225
 
226
  if __name__ == "__main__":
227
- demo.queue( # turn the queue on
228
- concurrency_count = 8, # how many jobs run simultaneously
229
- max_size = 40, # 40-6 = 34 jobs can wait in line
230
- api_open = False # no public /queue/status endpoint
231
- ).launch(
232
- share = True,
233
- ssr_mode = False
234
- )
 
224
  #demo.launch(share=True, ssr_mode=False)
225
 
226
  if __name__ == "__main__":
227
+ # first positional argument = concurrency_count
228
+ demo.queue(8).launch(share=True, ssr_mode=False)