huzey commited on
Commit
86fa34e
1 Parent(s): 5ca0c5b

update tabs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -664,7 +664,7 @@ with gr.Blocks() as demo:
664
  with gr.Row():
665
  with gr.Column(scale=5, min_width=200):
666
  input_gallery, submit_button, clear_images_button, max_frame_number = make_input_video_section()
667
- load_video_button = make_example_video_section()
668
  with gr.Column(scale=5, min_width=200):
669
  output_gallery = gr.Video(value=None, label="NCUT Embedding", elem_id="ncut", height="auto", show_share_button=False)
670
  gr.Markdown('_image backbone model is used to extract features from each frame, NCUT is computed on all frames_')
@@ -682,7 +682,7 @@ with gr.Blocks() as demo:
682
  # logging text box
683
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information")
684
  load_images_button.click(lambda x: (default_images, default_outputs), outputs=[input_gallery, output_gallery])
685
- load_video_button.click(lambda x: './images/ego4d_dog.mp4', outputs=[input_gallery])
686
  clear_images_button.click(lambda x: (None, []), outputs=[input_gallery, output_gallery])
687
  place_holder_false = gr.Checkbox(label="Place holder", value=False, elem_id="place_holder_false")
688
  place_holder_false.visible = False
 
664
  with gr.Row():
665
  with gr.Column(scale=5, min_width=200):
666
  input_gallery, submit_button, clear_images_button, max_frame_number = make_input_video_section()
667
+ # load_video_button = make_example_video_section()
668
  with gr.Column(scale=5, min_width=200):
669
  output_gallery = gr.Video(value=None, label="NCUT Embedding", elem_id="ncut", height="auto", show_share_button=False)
670
  gr.Markdown('_image backbone model is used to extract features from each frame, NCUT is computed on all frames_')
 
682
  # logging text box
683
  logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information")
684
  load_images_button.click(lambda x: (default_images, default_outputs), outputs=[input_gallery, output_gallery])
685
+ # load_video_button.click(lambda x: './images/ego4d_dog.mp4', outputs=[input_gallery])
686
  clear_images_button.click(lambda x: (None, []), outputs=[input_gallery, output_gallery])
687
  place_holder_false = gr.Checkbox(label="Place holder", value=False, elem_id="place_holder_false")
688
  place_holder_false.visible = False