Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -280,9 +280,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 280 |
)
|
| 281 |
init_image = gr.Image(label="Input Image", type="pil")
|
| 282 |
with gr.Row():
|
| 283 |
-
img2img_run_button = gr.Button("Generate", variant="primary"
|
| 284 |
with gr.Column(scale=1):
|
| 285 |
-
img2img_output = gr.Gallery(label="Result", elem_id="gallery"
|
| 286 |
with gr.Accordion("Advanced options", open=False):
|
| 287 |
with gr.Row():
|
| 288 |
img2img_use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
|
|
|
| 280 |
)
|
| 281 |
init_image = gr.Image(label="Input Image", type="pil")
|
| 282 |
with gr.Row():
|
| 283 |
+
img2img_run_button = gr.Button("Generate", variant="primary")
|
| 284 |
with gr.Column(scale=1):
|
| 285 |
+
img2img_output = gr.Gallery(label="Result", elem_id="gallery").style(grid=[2, 2], height="auto")
|
| 286 |
with gr.Accordion("Advanced options", open=False):
|
| 287 |
with gr.Row():
|
| 288 |
img2img_use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|