freddyaboulton HF staff commited on
Commit
d626912
โ€ข
1 Parent(s): f533c9b

Increase concurrency count

Browse files

Should make the space faster. Right now it's pulling requests off the queue one by one.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,4 +53,4 @@ with gr.Blocks() as demo:
53
  music_output = gr.Audio(label="Result", type="filepath")
54
  generate.click(get_prompts, inputs=[input_img], outputs=[music_output])
55
 
56
- demo.queue(max_size=32).launch()
 
53
  music_output = gr.Audio(label="Result", type="filepath")
54
  generate.click(get_prompts, inputs=[input_img], outputs=[music_output])
55
 
56
+ demo.queue(max_size=32, concurrency_count=20).launch()