stefanbenten commited on
Commit
6f0d195
1 Parent(s): e1f531f

app.py: changes for gradio major bump (#38)

Browse files

- app.py: changes for gradio major bump (b6461a7674119bb13b7cb7a95f07f95bb8a0aa0b)
- README.md: bump gradio to 4 (bf998e6dcf852df2c7196888be643d8f7bc9ee1d)

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.3.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -328,4 +328,4 @@ with gr.Blocks(css=css) as demo:
328
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt, steps, seed,
329
  model, sampler, width, height, cfg_scale])
330
 
331
- demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
 
328
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt, steps, seed,
329
  model, sampler, width, height, cfg_scale])
330
 
331
+ demo.queue(concurrency_limit=64, max_size=80, api_open=False).launch(max_threads=256)