decrease gpu dur to 200 sec
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def draw_multiline_text(frame, text_lines, org, font=cv2.FONT_HERSHEY_SIMPLEX, f
|
|
65 |
# Move to the next line.
|
66 |
y += text_h + baseline + line_spacing
|
67 |
|
68 |
-
@spaces.GPU(duration=
|
69 |
def process_video(video_file, threshold_secs, velocity_threshold):
|
70 |
"""
|
71 |
Process an uploaded video file to detect persons who remain motionless (fainted).
|
|
|
65 |
# Move to the next line.
|
66 |
y += text_h + baseline + line_spacing
|
67 |
|
68 |
+
@spaces.GPU(duration=200)
|
69 |
def process_video(video_file, threshold_secs, velocity_threshold):
|
70 |
"""
|
71 |
Process an uploaded video file to detect persons who remain motionless (fainted).
|