Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from handlers import video_handler as vh
|
|
11 |
model_path = "yolov8n.pt" # YOLOv8 model path
|
12 |
|
13 |
|
14 |
-
@spaces.GPU(duration=
|
15 |
def process_video(video_file):
|
16 |
"""
|
17 |
Processes the uploaded video file by extracting key frames, cropping them, and generating a processed video.
|
|
|
11 |
model_path = "yolov8n.pt" # YOLOv8 model path
|
12 |
|
13 |
|
14 |
+
@spaces.GPU(duration=150)
|
15 |
def process_video(video_file):
|
16 |
"""
|
17 |
Processes the uploaded video file by extracting key frames, cropping them, and generating a processed video.
|