Update app.py
Browse files
app.py
CHANGED
|
@@ -232,7 +232,7 @@ with gr.Blocks(css=css, theme=theme) as app:
|
|
| 232 |
with gr.Column():
|
| 233 |
text_button = gr.Button("Generate image", variant="primary", interactive=True, elem_id="generate")
|
| 234 |
with gr.Column():
|
| 235 |
-
image_output = gr.Image(show_download_button=True, interactive=False, label='Result:',
|
| 236 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, task, steps, sampler, cfg_scale, seed, width, height], outputs=image_output, concurrency_limit=48)
|
| 237 |
|
| 238 |
img2img_b = gr.Button("Increase the image", variant='secondary')
|
|
|
|
| 232 |
with gr.Column():
|
| 233 |
text_button = gr.Button("Generate image", variant="primary", interactive=True, elem_id="generate")
|
| 234 |
with gr.Column():
|
| 235 |
+
image_output = gr.Image(show_download_button=True, interactive=False, label='Result:', show_share_button=False, format="png", elem_id="gallery")
|
| 236 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, task, steps, sampler, cfg_scale, seed, width, height], outputs=image_output, concurrency_limit=48)
|
| 237 |
|
| 238 |
img2img_b = gr.Button("Increase the image", variant='secondary')
|