Spaces:
SHOOL45
/
Runtime error

Rooni commited on
Commit
7cc6627
1 Parent(s): 33cfc86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)