huzey commited on
Commit
82d825b
1 Parent(s): 80937a3

fix clear image button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1652,7 +1652,7 @@ with demo:
1652
  with gr.Row():
1653
  with gr.Column(scale=5, min_width=200):
1654
  input_gallery, submit_button, clear_images_button = make_input_images_section()
1655
- clear_images_button.click(lambda x: ([],), outputs=[input_gallery])
1656
  submit_button.visible = False
1657
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section(advanced=True)
1658
 
 
1652
  with gr.Row():
1653
  with gr.Column(scale=5, min_width=200):
1654
  input_gallery, submit_button, clear_images_button = make_input_images_section()
1655
+ clear_images_button.click(lambda x: [], outputs=[input_gallery])
1656
  submit_button.visible = False
1657
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section(advanced=True)
1658