Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -292,7 +292,7 @@ with gr.Blocks(css=custom_css, theme=app_theme) as main_interface:
|
|
| 292 |
with gr.Tab("Video Segmentation"):
|
| 293 |
with gr.Row():
|
| 294 |
with gr.Column():
|
| 295 |
-
video_input = gr.Video(label="Source Video", format="mp4", height=
|
| 296 |
txt_prompt_vid = gr.Textbox(label="Text Description", placeholder="e.g., person running, red car")
|
| 297 |
|
| 298 |
with gr.Row():
|
|
@@ -307,7 +307,6 @@ with gr.Blocks(css=custom_css, theme=app_theme) as main_interface:
|
|
| 307 |
|
| 308 |
gr.Examples(
|
| 309 |
examples=[
|
| 310 |
-
["examples/sample_video2.mp4", "football", 350, 120],
|
| 311 |
["examples/sample_video.mp4", "players", 120, 120],
|
| 312 |
],
|
| 313 |
inputs=[video_input, txt_prompt_vid, frame_limiter, time_limiter],
|
|
|
|
| 292 |
with gr.Tab("Video Segmentation"):
|
| 293 |
with gr.Row():
|
| 294 |
with gr.Column():
|
| 295 |
+
video_input = gr.Video(label="Source Video", format="mp4", height=320)
|
| 296 |
txt_prompt_vid = gr.Textbox(label="Text Description", placeholder="e.g., person running, red car")
|
| 297 |
|
| 298 |
with gr.Row():
|
|
|
|
| 307 |
|
| 308 |
gr.Examples(
|
| 309 |
examples=[
|
|
|
|
| 310 |
["examples/sample_video.mp4", "players", 120, 120],
|
| 311 |
],
|
| 312 |
inputs=[video_input, txt_prompt_vid, frame_limiter, time_limiter],
|