Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,4 +73,4 @@ with gr.Blocks(css=css) as Animagine:
|
|
73 |
text_button = gr.Button("Генерировать", variant='primary', elem_id="gen-button")
|
74 |
image_output = gr.Image(type="pil", label="Сгенерированое изображение", elem_id="gallery")
|
75 |
text_button.click(query, inputs=[text_prompt, negative_prompt], outputs=image_output)
|
76 |
-
Animagine.queue(
|
|
|
73 |
text_button = gr.Button("Генерировать", variant='primary', elem_id="gen-button")
|
74 |
image_output = gr.Image(type="pil", label="Сгенерированое изображение", elem_id="gallery")
|
75 |
text_button.click(query, inputs=[text_prompt, negative_prompt], outputs=image_output)
|
76 |
+
Animagine.queue(max_size=200).launch(show_api=False)
|