Luigi commited on
Commit
0181cbf
·
1 Parent(s): 0b4c116

add 4 min. duration to zero gpu allocation

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