Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ model_y = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
81 |
).to(device).eval()
|
82 |
|
83 |
# Video downsampling helper
|
84 |
-
|
85 |
"""
|
86 |
Downsamples the video to evenly spaced frames.
|
87 |
Each frame is returned as a PIL image along with its timestamp.
|
|
|
81 |
).to(device).eval()
|
82 |
|
83 |
# Video downsampling helper
|
84 |
+
def downsample_video(video_path):
|
85 |
"""
|
86 |
Downsamples the video to evenly spaced frames.
|
87 |
Each frame is returned as a PIL image along with its timestamp.
|