Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,6 +193,6 @@ with gr.Blocks(css=css) as dalle:
|
|
| 193 |
with gr.Row():
|
| 194 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
| 195 |
|
| 196 |
-
text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed, strength, gpt, width, height], outputs=image_output, concurrency_limit=24)
|
| 197 |
|
| 198 |
dalle.launch(show_api=True, share=True)
|
|
|
|
| 193 |
with gr.Row():
|
| 194 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
| 195 |
|
| 196 |
+
text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed, strength, gpt, width, height], outputs=image_output, concurrency_limit=24, api_name="addition")
|
| 197 |
|
| 198 |
dalle.launch(show_api=True, share=True)
|