Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -253,7 +253,7 @@ with gr.Blocks(css=css) as demo:
253
  # n_images.change(lambda n: gr.Gallery().style(grid=[2 if n > 1 else 1], height="auto"), inputs=n_images, outputs=gallery)
254
 
255
  inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
256
- outputs = [image_out, error_output]
257
  prompt.submit(inference, inputs=inputs, outputs=outputs)
258
  generate.click(inference, inputs=inputs, outputs=outputs)
259
 
 
253
  # n_images.change(lambda n: gr.Gallery().style(grid=[2 if n > 1 else 1], height="auto"), inputs=n_images, outputs=gallery)
254
 
255
  inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
256
+ outputs = [image_out]
257
  prompt.submit(inference, inputs=inputs, outputs=outputs)
258
  generate.click(inference, inputs=inputs, outputs=outputs)
259