Luigi commited on
Commit
baa9eed
·
1 Parent(s): 38ccaf3

decrease gpu dur to 200 sec

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=600)
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).