Update app.py
Browse files
app.py
CHANGED
@@ -175,6 +175,6 @@ with gr.Blocks(css=css, theme="YTheme/KidsShool") as dalle:
|
|
175 |
with gr.Row():
|
176 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
177 |
|
178 |
-
text_button.click(query, inputs=[text_prompt, negative_prompt], outputs=image_output)
|
179 |
|
180 |
dalle.launch(show_api=False, share=False)
|
|
|
175 |
with gr.Row():
|
176 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
177 |
|
178 |
+
text_button.click(query, inputs=[text_prompt, negative_prompt], outputs=image_output, queue=False)
|
179 |
|
180 |
dalle.launch(show_api=False, share=False)
|