Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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,
|
| 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,
|
| 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")
|