diffusionai commited on
Commit
ffa66b8
1 Parent(s): 16485bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,6 +191,6 @@ with gr.Blocks(css=css) as dalle:
191
  with gr.Row():
192
  image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
193
 
194
- 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")
195
 
196
  dalle.launch(share=True)
 
191
  with gr.Row():
192
  image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
193
 
194
+ 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="predict")
195
 
196
  dalle.launch(share=True)