Spaces:
Running
on
Zero
Running
on
Zero
fix clear image button
Browse files
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:
|
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 |
|