Spaces:
Running
on
Zero
Running
on
Zero
add 4 min. duration to zero gpu allocation
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def extract_frames(video_path, target_size=(224, 224)):
|
|
34 |
cap.release()
|
35 |
return frames
|
36 |
|
37 |
-
@spaces.GPU
|
38 |
def process_window(frames_window):
|
39 |
"""
|
40 |
Process a window of frames and compute the average fall score.
|
|
|
34 |
cap.release()
|
35 |
return frames
|
36 |
|
37 |
+
@spaces.GPU(duration=240)
|
38 |
def process_window(frames_window):
|
39 |
"""
|
40 |
Process a window of frames and compute the average fall score.
|