multimodalart HF staff commited on
Commit
7c06677
1 Parent(s): f0ba2c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -310,7 +310,7 @@ with gr.Blocks(css=css) as demo:
310
  preview_image = gr.Image(label="Mask preview")
311
 
312
  def use_output_as_input(output_image):
313
- return gr.update(value=output_image[1])
314
 
315
  use_as_input_button.click(
316
  fn=use_output_as_input,
 
310
  preview_image = gr.Image(label="Mask preview")
311
 
312
  def use_output_as_input(output_image):
313
+ return output_image
314
 
315
  use_as_input_button.click(
316
  fn=use_output_as_input,