Spaces:
Runtime error
Runtime error
Commit ·
2b7510a
1
Parent(s): 2127e48
Update app.py
Browse files
app.py
CHANGED
|
@@ -278,7 +278,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 278 |
with gr.Column(scale=2):
|
| 279 |
image_output = gr.Image(value="https://app.rendernet.ai/userfiles/1699956614571.5938.png")
|
| 280 |
|
| 281 |
-
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
| 282 |
-
|
|
|
|
| 283 |
|
| 284 |
demo.queue(max_size=80, api_open=False).launch(max_threads=256)
|
|
|
|
| 278 |
with gr.Column(scale=2):
|
| 279 |
image_output = gr.Image(value="https://app.rendernet.ai/userfiles/1699956614571.5938.png")
|
| 280 |
|
| 281 |
+
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
| 282 |
+
send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt, steps, seed,
|
| 283 |
+
model, sampler, width, height, cfg_scale], concurrency_limit=10)
|
| 284 |
|
| 285 |
demo.queue(max_size=80, api_open=False).launch(max_threads=256)
|