Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,7 +160,7 @@ class LiveYouTubeObjectDetector:
|
|
| 160 |
def __init__(self):
|
| 161 |
"""Initializes the LiveYouTubeObjectDetector with YOLO model and UI components."""
|
| 162 |
logging.getLogger().setLevel(logging.DEBUG)
|
| 163 |
-
self.model = YOLO("
|
| 164 |
self.model.fuse()
|
| 165 |
self.streams = self.get_live_streams("world live cams")
|
| 166 |
|
|
|
|
| 160 |
def __init__(self):
|
| 161 |
"""Initializes the LiveYouTubeObjectDetector with YOLO model and UI components."""
|
| 162 |
logging.getLogger().setLevel(logging.DEBUG)
|
| 163 |
+
self.model = YOLO("yolo11n.pt")
|
| 164 |
self.model.fuse()
|
| 165 |
self.streams = self.get_live_streams("world live cams")
|
| 166 |
|