Spaces:
Running
Running
lalashechka
commited on
Commit
·
561a602
1
Parent(s):
759f4f5
Update app.py
Browse files
app.py
CHANGED
@@ -156,7 +156,7 @@ with gr.Blocks(css=css) as demo:
|
|
156 |
with gr.Column():
|
157 |
text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")
|
158 |
with gr.Column():
|
159 |
-
image_output = gr.Image(show_label=True, show_download_button=True, interactive=
|
160 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, task, steps, sampler, cfg_scale, seed], outputs=image_output)
|
161 |
|
162 |
img2img_b = gr.Button("Увеличить изображение", variant='secondary')
|
|
|
156 |
with gr.Column():
|
157 |
text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")
|
158 |
with gr.Column():
|
159 |
+
image_output = gr.Image(show_label=True, show_download_button=True, interactive=False, label='Результат:', elem_id='image_output', type='filepath')
|
160 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, task, steps, sampler, cfg_scale, seed], outputs=image_output)
|
161 |
|
162 |
img2img_b = gr.Button("Увеличить изображение", variant='secondary')
|