Spaces:
Running
Running
Commit
•
e5111ed
1
Parent(s):
9d8efb0
`app.py`: queue configuration
Browse files
app.py
CHANGED
@@ -365,6 +365,5 @@ with gr.Blocks(css=css) as demo:
|
|
365 |
image_input.upload(get_exif_data, inputs=[image_input], outputs=exif_output)
|
366 |
send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt, steps, seed,
|
367 |
model, sampler, width, height, cfg_scale])
|
368 |
-
|
369 |
-
demo.queue(concurrency_count=64)
|
370 |
-
demo.launch()
|
|
|
365 |
image_input.upload(get_exif_data, inputs=[image_input], outputs=exif_output)
|
366 |
send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt, steps, seed,
|
367 |
model, sampler, width, height, cfg_scale])
|
368 |
+
|
369 |
+
demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
|
|