hysts HF staff commited on
Commit
dd86f00
1 Parent(s): 25f2657

Set the max queue size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,4 +75,4 @@ with gr.Blocks(css='style.css') as demo:
75
  prompt.submit(fn=generate, inputs=inputs, outputs=result)
76
  run_button.click(fn=generate, inputs=inputs, outputs=result)
77
 
78
- demo.queue(api_open=False).launch()
 
75
  prompt.submit(fn=generate, inputs=inputs, outputs=result)
76
  run_button.click(fn=generate, inputs=inputs, outputs=result)
77
 
78
+ demo.queue(api_open=False, max_size=15).launch()