Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(css=css) as dalle:
|
|
110 |
with gr.Row():
|
111 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|
112 |
with gr.Row():
|
113 |
-
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
114 |
|
115 |
text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed], outputs=image_output)
|
116 |
|
|
|
110 |
with gr.Row():
|
111 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|
112 |
with gr.Row():
|
113 |
+
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery", share=False)
|
114 |
|
115 |
text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed], outputs=image_output)
|
116 |
|