hasanbasbunar commited on
Commit
16bc89d
·
verified ·
1 Parent(s): 5e513b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -354,7 +354,7 @@ with gr.Blocks(title="SAM3 Ultimate Suite") as demo:
354
  with gr.Column():
355
  v3_input = gr.Video(label="Input Video", format="mp4")
356
  v3_text = gr.Textbox(label="Text Prompt", placeholder="e.g.: person, car")
357
- v3_max_frames = gr.Slider(10, 300, value=50, step=10, label="Max Frames to Process")
358
  v3_duration = gr.Radio([60, 120], value=60, label="Max Processing Time (seconds)", info="Choose 60s for short clips, 120s for complex tasks")
359
  v3_btn = gr.Button("Start Video Segmentation", variant="primary")
360
  with gr.Column():
@@ -369,7 +369,7 @@ with gr.Blocks(title="SAM3 Ultimate Suite") as demo:
369
  with gr.Column():
370
  v4_input = gr.Video(label="Input Video", format="mp4")
371
  v4_frame0 = gr.Image(label="First Frame (Click to add points)", interactive=True)
372
- v4_max_frames = gr.Slider(10, 300, value=50, step=10, label="Max Frames to Process")
373
  v4_duration = gr.Radio([60, 120], value=60, label="Max Processing Time (seconds)", info="Choose 60s for short clips, 120s for complex tasks")
374
  with gr.Row():
375
  v4_btn = gr.Button("Start Object Tracking", variant="primary")
 
354
  with gr.Column():
355
  v3_input = gr.Video(label="Input Video", format="mp4")
356
  v3_text = gr.Textbox(label="Text Prompt", placeholder="e.g.: person, car")
357
+ v3_max_frames = gr.Slider(10, 1000, value=50, step=10, label="Max Frames to Process")
358
  v3_duration = gr.Radio([60, 120], value=60, label="Max Processing Time (seconds)", info="Choose 60s for short clips, 120s for complex tasks")
359
  v3_btn = gr.Button("Start Video Segmentation", variant="primary")
360
  with gr.Column():
 
369
  with gr.Column():
370
  v4_input = gr.Video(label="Input Video", format="mp4")
371
  v4_frame0 = gr.Image(label="First Frame (Click to add points)", interactive=True)
372
+ v4_max_frames = gr.Slider(10, 1000, value=50, step=10, label="Max Frames to Process")
373
  v4_duration = gr.Radio([60, 120], value=60, label="Max Processing Time (seconds)", info="Choose 60s for short clips, 120s for complex tasks")
374
  with gr.Row():
375
  v4_btn = gr.Button("Start Object Tracking", variant="primary")