Spaces:
Running
Running
Commit
·
6326bb4
1
Parent(s):
eab83ad
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(css=css) as demo:
|
|
65 |
with gr.Row():
|
66 |
text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")
|
67 |
with gr.Row():
|
68 |
-
image_output = gr.Image(show_download_button=True, type="
|
69 |
text_button.click(flip_text, inputs=[prompt, key], outputs=image_output, concurrency_limit=12)
|
70 |
|
71 |
demo.launch()
|
|
|
65 |
with gr.Row():
|
66 |
text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")
|
67 |
with gr.Row():
|
68 |
+
image_output = gr.Image(show_download_button=True, interactive=False, type="numpy", label='Результат:', elem_id='image_output')
|
69 |
text_button.click(flip_text, inputs=[prompt, key], outputs=image_output, concurrency_limit=12)
|
70 |
|
71 |
demo.launch()
|