Spaces:
Runtime error
Runtime error
EduardoPacheco
commited on
Commit
·
2e8452c
1
Parent(s):
ea213fb
Limited to 100 frames
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def app_fn(
|
|
19 |
frames = utils.load_video_frames(source_video)
|
20 |
processed_frames = utils.process_video(
|
21 |
model=model,
|
22 |
-
video=frames,
|
23 |
batch_size=batch_size,
|
24 |
threshold=threshold,
|
25 |
n_patches=n_patches,
|
|
|
19 |
frames = utils.load_video_frames(source_video)
|
20 |
processed_frames = utils.process_video(
|
21 |
model=model,
|
22 |
+
video=frames[:100],
|
23 |
batch_size=batch_size,
|
24 |
threshold=threshold,
|
25 |
n_patches=n_patches,
|