Spaces:
Running
on
Zero
Running
on
Zero
Clean up
Browse files
app.py
CHANGED
|
@@ -911,15 +911,13 @@ with gr.Blocks(title="SAM3", theme=Soft(primary_hue="blue", secondary_hue="rose"
|
|
| 911 |
|
| 912 |
with gr.Row():
|
| 913 |
with gr.Column(scale=1):
|
| 914 |
-
video_in_text = gr.Video(label="Upload video", sources=["upload", "webcam"]
|
| 915 |
load_status_text = gr.Markdown(visible=True)
|
| 916 |
reset_btn_text = gr.Button("Reset Session", variant="secondary")
|
| 917 |
with gr.Column(scale=2):
|
| 918 |
-
preview_text = gr.Image(label="Preview"
|
| 919 |
with gr.Row():
|
| 920 |
-
frame_slider_text = gr.Slider(
|
| 921 |
-
label="Frame", minimum=0, maximum=0, step=1, value=0, interactive=True
|
| 922 |
-
)
|
| 923 |
with gr.Column(scale=0):
|
| 924 |
propagate_btn_text = gr.Button("Propagate across video", variant="primary")
|
| 925 |
propagate_status_text = gr.Markdown(visible=True)
|
|
@@ -974,17 +972,13 @@ with gr.Blocks(title="SAM3", theme=Soft(primary_hue="blue", secondary_hue="rose"
|
|
| 974 |
|
| 975 |
with gr.Row():
|
| 976 |
with gr.Column(scale=1):
|
| 977 |
-
video_in_pointbox = gr.Video(
|
| 978 |
-
label="Upload video", sources=["upload", "webcam"], interactive=True, max_length=7
|
| 979 |
-
)
|
| 980 |
load_status_pointbox = gr.Markdown(visible=True)
|
| 981 |
reset_btn_pointbox = gr.Button("Reset Session", variant="secondary")
|
| 982 |
with gr.Column(scale=2):
|
| 983 |
-
preview_pointbox = gr.Image(label="Preview"
|
| 984 |
with gr.Row():
|
| 985 |
-
frame_slider_pointbox = gr.Slider(
|
| 986 |
-
label="Frame", minimum=0, maximum=0, step=1, value=0, interactive=True
|
| 987 |
-
)
|
| 988 |
with gr.Column(scale=0):
|
| 989 |
propagate_btn_pointbox = gr.Button("Propagate across video", variant="primary")
|
| 990 |
propagate_status_pointbox = gr.Markdown(visible=True)
|
|
|
|
| 911 |
|
| 912 |
with gr.Row():
|
| 913 |
with gr.Column(scale=1):
|
| 914 |
+
video_in_text = gr.Video(label="Upload video", sources=["upload", "webcam"])
|
| 915 |
load_status_text = gr.Markdown(visible=True)
|
| 916 |
reset_btn_text = gr.Button("Reset Session", variant="secondary")
|
| 917 |
with gr.Column(scale=2):
|
| 918 |
+
preview_text = gr.Image(label="Preview")
|
| 919 |
with gr.Row():
|
| 920 |
+
frame_slider_text = gr.Slider(label="Frame", minimum=0, maximum=0, step=1, value=0)
|
|
|
|
|
|
|
| 921 |
with gr.Column(scale=0):
|
| 922 |
propagate_btn_text = gr.Button("Propagate across video", variant="primary")
|
| 923 |
propagate_status_text = gr.Markdown(visible=True)
|
|
|
|
| 972 |
|
| 973 |
with gr.Row():
|
| 974 |
with gr.Column(scale=1):
|
| 975 |
+
video_in_pointbox = gr.Video(label="Upload video", sources=["upload", "webcam"], max_length=7)
|
|
|
|
|
|
|
| 976 |
load_status_pointbox = gr.Markdown(visible=True)
|
| 977 |
reset_btn_pointbox = gr.Button("Reset Session", variant="secondary")
|
| 978 |
with gr.Column(scale=2):
|
| 979 |
+
preview_pointbox = gr.Image(label="Preview")
|
| 980 |
with gr.Row():
|
| 981 |
+
frame_slider_pointbox = gr.Slider(label="Frame", minimum=0, maximum=0, step=1, value=0)
|
|
|
|
|
|
|
| 982 |
with gr.Column(scale=0):
|
| 983 |
propagate_btn_pointbox = gr.Button("Propagate across video", variant="primary")
|
| 984 |
propagate_status_pointbox = gr.Markdown(visible=True)
|