Spaces:
Sleeping
Sleeping
Update ToolSet.py
Browse files- ToolSet.py +0 -1
ToolSet.py
CHANGED
@@ -255,7 +255,6 @@ Do NOT send commands that block indefinitely (e.g., `input()`).""",
|
|
255 |
class YouTubeFrameExtractor:
|
256 |
def __init__(self, model_path: str = 'yolov8n.pt', frame_rate: int = 1):
|
257 |
# Load YOLOv8 model
|
258 |
-
settings.update({"runs_dir": model_path})
|
259 |
self.model = YOLO(model_path)
|
260 |
self.frame_rate = frame_rate # frames per second to sample
|
261 |
|
|
|
255 |
class YouTubeFrameExtractor:
|
256 |
def __init__(self, model_path: str = 'yolov8n.pt', frame_rate: int = 1):
|
257 |
# Load YOLOv8 model
|
|
|
258 |
self.model = YOLO(model_path)
|
259 |
self.frame_rate = frame_rate # frames per second to sample
|
260 |
|