Spaces:
Build error
Build error
put back 8 frames
Browse files
app.py
CHANGED
|
@@ -138,7 +138,7 @@ def _draw_detections(pil_img, preds):
|
|
| 138 |
|
| 139 |
def infer(video_file):
|
| 140 |
video_path = _resolve_video_path(video_file)
|
| 141 |
-
frames = split_video(video_path, n=
|
| 142 |
if not frames:
|
| 143 |
return []
|
| 144 |
n_frames = len(frames)
|
|
|
|
| 138 |
|
| 139 |
def infer(video_file):
|
| 140 |
video_path = _resolve_video_path(video_file)
|
| 141 |
+
frames = split_video(video_path, n=8)
|
| 142 |
if not frames:
|
| 143 |
return []
|
| 144 |
n_frames = len(frames)
|