phitran commited on
Commit
3aff9d6
·
1 Parent(s): 7c0b5e6

increase GPU duration to 600

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from handlers import video_handler as vh
9
  model_path = "yolov8n.pt" # YOLOv8 model path
10
 
11
 
12
- @spaces.GPU(duration=300)
13
  def process_video(video_file):
14
  """
15
  Processes the uploaded video file by extracting key frames, cropping them, and generating a processed video.
 
9
  model_path = "yolov8n.pt" # YOLOv8 model path
10
 
11
 
12
+ @spaces.GPU(duration=600)
13
  def process_video(video_file):
14
  """
15
  Processes the uploaded video file by extracting key frames, cropping them, and generating a processed video.