Spaces:
Runtime error
Runtime error
weifeng
commited on
Commit
Β·
5420591
1
Parent(s):
4e209bc
Update app.py
Browse files
app.py
CHANGED
@@ -73,4 +73,4 @@ with gr.Blocks() as demo:
|
|
73 |
submit_btn.click(fn = infer_text2img, inputs = [prompt, guide, steps, width, height, image_in, strength], outputs = image_out)
|
74 |
# inpaint_btn.click(fn = infer_inpaint, inputs = [inpaint_prompt, width, height, image_in], outputs = image_out)
|
75 |
# img2img_btn.click(fn = infer_img2img, inputs = [img2img_prompt, width, height, image_in], outputs = image_out)
|
76 |
-
demo.queue(concurrency_count=
|
|
|
73 |
submit_btn.click(fn = infer_text2img, inputs = [prompt, guide, steps, width, height, image_in, strength], outputs = image_out)
|
74 |
# inpaint_btn.click(fn = infer_inpaint, inputs = [inpaint_prompt, width, height, image_in], outputs = image_out)
|
75 |
# img2img_btn.click(fn = infer_img2img, inputs = [img2img_prompt, width, height, image_in], outputs = image_out)
|
76 |
+
demo.queue(concurrency_count=1, max_size=8).launch()
|