Spaces:
Runtime error
Runtime error
dreamdrop-art
commited on
Commit
•
70dce8a
1
Parent(s):
ae7d1dc
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
|
|
244 |
seed = gr.Number(label="Seed", value=-1)
|
245 |
|
246 |
with gr.Column(scale=2):
|
247 |
-
image_output = gr.Image(show_label=False)
|
248 |
send_to_img2img = gr.Button(value="Send to img2img")
|
249 |
|
250 |
|
@@ -286,7 +286,7 @@ with gr.Blocks(css=css) as demo:
|
|
286 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
287 |
|
288 |
with gr.Column(scale=2):
|
289 |
-
i2i_image_output = gr.Image(show_label=False)
|
290 |
|
291 |
i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt,
|
292 |
model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height,
|
|
|
244 |
seed = gr.Number(label="Seed", value=-1)
|
245 |
|
246 |
with gr.Column(scale=2):
|
247 |
+
image_output = gr.Image(show_label=False, interactive=False)
|
248 |
send_to_img2img = gr.Button(value="Send to img2img")
|
249 |
|
250 |
|
|
|
286 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
287 |
|
288 |
with gr.Column(scale=2):
|
289 |
+
i2i_image_output = gr.Image(show_label=False, type="filepath")
|
290 |
|
291 |
i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt,
|
292 |
model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height,
|