Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -202,7 +202,7 @@ class LiveYouTubeObjectDetector:
|
|
202 |
def __init__(self):
|
203 |
"""Initializes the LiveYouTubeObjectDetector with YOLO model and UI components."""
|
204 |
logging.getLogger().setLevel(logging.DEBUG)
|
205 |
-
self.model = YOLO("yolo11n.pt")
|
206 |
self.streams = INITIAL_STREAMS
|
207 |
|
208 |
# Gradio UI
|
|
|
202 |
def __init__(self):
|
203 |
"""Initializes the LiveYouTubeObjectDetector with YOLO model and UI components."""
|
204 |
logging.getLogger().setLevel(logging.DEBUG)
|
205 |
+
self.model = YOLO("yolo11n.pt")
|
206 |
self.streams = INITIAL_STREAMS
|
207 |
|
208 |
# Gradio UI
|