reab5555 commited on
Commit
0c31964
·
verified ·
1 Parent(s): 233c8bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -98,7 +98,7 @@ def gradio_app():
98
  target_input = gr.Textbox(label="Target Object")
99
  output_video = gr.Video(label="Output Video")
100
  error_output = gr.Textbox(label="Error Messages", visible=False)
101
- sample_video_frame = gr.Image(value=load_sample_frame("IL_Dancing_Sample.mp4"), label="Sample Video Frame")
102
  use_sample_button = gr.Button("Use Sample Video")
103
 
104
  video_path = gr.State(None)
@@ -115,8 +115,8 @@ def gradio_app():
115
  outputs=[output_video, error_output])
116
 
117
  def use_sample_video():
118
- sample_video_path = "IL_Dancing_Sample.mp4"
119
- return process_and_update(sample_video_path, "person")
120
 
121
  use_sample_button.click(use_sample_video,
122
  inputs=None,
 
98
  target_input = gr.Textbox(label="Target Object")
99
  output_video = gr.Video(label="Output Video")
100
  error_output = gr.Textbox(label="Error Messages", visible=False)
101
+ sample_video_frame = gr.Image(value=load_sample_frame("Drone Video of African Wildlife Wild Botswan.webm"), label="Sample Video Frame")
102
  use_sample_button = gr.Button("Use Sample Video")
103
 
104
  video_path = gr.State(None)
 
115
  outputs=[output_video, error_output])
116
 
117
  def use_sample_video():
118
+ sample_video_path = "Drone Video of African Wildlife Wild Botswan.webm"
119
+ return process_and_update(sample_video_path, "animal")
120
 
121
  use_sample_button.click(use_sample_video,
122
  inputs=None,