linoyts HF staff commited on
Commit
b8dcdf0
β€’
1 Parent(s): 4029c04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -283,7 +283,7 @@ with gr.Blocks(css="style.css") as demo:
283
  seed,
284
  use_hed,
285
  ]
286
- outputs = [result, sketch_image]
287
  run_button.click(lambda x: None, inputs=None, outputs=image_slider).then(
288
  fn=run, inputs=inputs, outputs=outputs
289
  )
@@ -297,7 +297,7 @@ with gr.Blocks(css="style.css") as demo:
297
  ).then(lambda x: None, inputs=None, outputs=image_slider).then(
298
  fn=run,
299
  inputs=inputs,
300
- outputs=[result, sketch_image],
301
  api_name=False,
302
  )
303
  negative_prompt.submit(
@@ -309,7 +309,7 @@ with gr.Blocks(css="style.css") as demo:
309
  ).then(lambda x: None, inputs=None, outputs=image_slider).then(
310
  fn=run,
311
  inputs=inputs,
312
- outputs=[result, sketch_image],
313
  api_name=False,
314
  )
315
 
 
283
  seed,
284
  use_hed,
285
  ]
286
+ outputs = [image_slider, result, sketch_image]
287
  run_button.click(lambda x: None, inputs=None, outputs=image_slider).then(
288
  fn=run, inputs=inputs, outputs=outputs
289
  )
 
297
  ).then(lambda x: None, inputs=None, outputs=image_slider).then(
298
  fn=run,
299
  inputs=inputs,
300
+ outputs=outputs,
301
  api_name=False,
302
  )
303
  negative_prompt.submit(
 
309
  ).then(lambda x: None, inputs=None, outputs=image_slider).then(
310
  fn=run,
311
  inputs=inputs,
312
+ outputs=outputs,
313
  api_name=False,
314
  )
315