Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,7 +235,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 235 |
seed = gr.Number(label="Seed", value=-1)
|
| 236 |
|
| 237 |
with gr.Column(scale=2):
|
| 238 |
-
image_output = gr.Image(value="")
|
| 239 |
|
| 240 |
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height,
|
| 241 |
seed], outputs=image_output, concurrency_limit=64)
|
|
@@ -274,7 +274,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 274 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
| 275 |
|
| 276 |
with gr.Column(scale=2):
|
| 277 |
-
i2i_image_output = gr.Image(value="")
|
| 278 |
|
| 279 |
i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt,
|
| 280 |
model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height,
|
|
|
|
| 235 |
seed = gr.Number(label="Seed", value=-1)
|
| 236 |
|
| 237 |
with gr.Column(scale=2):
|
| 238 |
+
image_output = gr.Image(value="https://huggingface.co/spaces/salomonsky/fast/raw/main/image.jpg")
|
| 239 |
|
| 240 |
text_button.click(txt2img, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height,
|
| 241 |
seed], outputs=image_output, concurrency_limit=64)
|
|
|
|
| 274 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
| 275 |
|
| 276 |
with gr.Column(scale=2):
|
| 277 |
+
i2i_image_output = gr.Image(value="https://huggingface.co/spaces/salomonsky/fast/raw/main/image.jpg")
|
| 278 |
|
| 279 |
i2i_text_button.click(img2img, inputs=[i2i_image_input, i2i_denoising, i2i_prompt, i2i_negative_prompt,
|
| 280 |
model, i2i_steps, i2i_sampler, i2i_cfg_scale, i2i_width, i2i_height,
|