huzey commited on
Commit
a551f9e
1 Parent(s): ab1b7ae

fix clear image

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -1898,7 +1898,6 @@ with demo:
1898
  with gr.Column(scale=5, min_width=200):
1899
  input_gallery, submit_button, clear_images_button, dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_input_images_section()
1900
  num_images_slider.value = 100
1901
- clear_images_button.visible = False
1902
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information")
1903
  with gr.Column(scale=5, min_width=200):
1904
  gr.Markdown('### Output (Recursion #1)')
@@ -1964,7 +1963,6 @@ with demo:
1964
  with gr.Column(scale=5, min_width=200):
1965
  input_gallery, submit_button, clear_images_button, dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_input_images_section()
1966
  num_images_slider.value = 100
1967
- clear_images_button.visible = False
1968
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information", lines=20)
1969
  with gr.Column(scale=5, min_width=200):
1970
  gr.Markdown('### Output (Recursion #1)')
 
1898
  with gr.Column(scale=5, min_width=200):
1899
  input_gallery, submit_button, clear_images_button, dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_input_images_section()
1900
  num_images_slider.value = 100
 
1901
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information")
1902
  with gr.Column(scale=5, min_width=200):
1903
  gr.Markdown('### Output (Recursion #1)')
 
1963
  with gr.Column(scale=5, min_width=200):
1964
  input_gallery, submit_button, clear_images_button, dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_input_images_section()
1965
  num_images_slider.value = 100
 
1966
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information", lines=20)
1967
  with gr.Column(scale=5, min_width=200):
1968
  gr.Markdown('### Output (Recursion #1)')