hadadrjt commited on
Commit
9cfa73b
·
1 Parent(s): 3307817

image: Bring back concurrency limit.

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -74,7 +74,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
74
  gr.Examples(EXAMPLES, inputs=[model, size, input], outputs=[image],
75
  fn=playground, cache_examples=False, run_on_click=True)
76
 
77
- app.queue(max_size=3).launch(
 
 
 
78
  show_api=False,
79
  server_name="0.0.0.0",
80
  pwa=True
 
74
  gr.Examples(EXAMPLES, inputs=[model, size, input], outputs=[image],
75
  fn=playground, cache_examples=False, run_on_click=True)
76
 
77
+ app.queue(
78
+ max_size=3,
79
+ default_concurrency_limit=3
80
+ ).launch(
81
  show_api=False,
82
  server_name="0.0.0.0",
83
  pwa=True