hysts HF Staff commited on
Commit
bec6618
·
1 Parent(s): 9487a42
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -944,12 +944,9 @@ with gr.Blocks(title="SAM3", theme=Soft(primary_hue="blue", secondary_hue="rose"
944
  ]
945
  with gr.Row():
946
  gr.Examples(
 
947
  examples=examples_list_text,
948
  inputs=[app_state, video_in_text],
949
- fn=_on_video_change_text,
950
- outputs=[app_state, frame_slider_text, preview_text, load_status_text, active_prompts_display],
951
- label="Examples",
952
- cache_examples=False,
953
  examples_per_page=5,
954
  )
955
 
@@ -1007,12 +1004,9 @@ with gr.Blocks(title="SAM3", theme=Soft(primary_hue="blue", secondary_hue="rose"
1007
  ]
1008
  with gr.Row():
1009
  gr.Examples(
 
1010
  examples=examples_list_pointbox,
1011
  inputs=[app_state, video_in_pointbox],
1012
- fn=_on_video_change_pointbox,
1013
- outputs=[app_state, frame_slider_pointbox, preview_pointbox, load_status_pointbox],
1014
- label="Examples",
1015
- cache_examples=False,
1016
  examples_per_page=5,
1017
  )
1018
 
 
944
  ]
945
  with gr.Row():
946
  gr.Examples(
947
+ label="Examples",
948
  examples=examples_list_text,
949
  inputs=[app_state, video_in_text],
 
 
 
 
950
  examples_per_page=5,
951
  )
952
 
 
1004
  ]
1005
  with gr.Row():
1006
  gr.Examples(
1007
+ label="Examples",
1008
  examples=examples_list_pointbox,
1009
  inputs=[app_state, video_in_pointbox],
 
 
 
 
1010
  examples_per_page=5,
1011
  )
1012