alexnasa multimodalart HF Staff commited on
Commit
6593954
·
verified ·
1 Parent(s): c5e0035

No need for queue size on ZeroGPU (#5)

Browse files

- No need for queue size on ZeroGPU (3184777c34cf31562352f82413c90d4086665d28)


Co-authored-by: Apolinário from multimodal AI art <[email protected]>

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -334,7 +334,6 @@ with gr.Blocks(css=css) as demo:
334
  # ------------------------------------------------------------------
335
  # START THE GRADIO SERVER
336
  # ------------------------------------------------------------------
337
- demo.queue(default_concurrency_limit=1, # 1 worker per event
338
- max_size=20) # optional: allow 20 waiting jobs
339
 
340
  demo.launch(share=True, mcp_server=True)
 
334
  # ------------------------------------------------------------------
335
  # START THE GRADIO SERVER
336
  # ------------------------------------------------------------------
337
+ demo.queue() # optional: allow 20 waiting jobs
 
338
 
339
  demo.launch(share=True, mcp_server=True)