change concurrency_count to default_concurrency_limit

#75
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🔥
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 3.42.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 4.37.2
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -147,4 +147,4 @@ with gr.Blocks(css=css) as demo:
147
 
148
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
149
 
150
- demo.queue(concurrency_count=24, max_size=32, api_open=False).launch(max_threads=128)
 
147
 
148
  text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
149
 
150
+ demo.queue(default_concurrency_limit=24, max_size=32, api_open=False).launch(max_threads=128)