Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import gradio as gr
|
|
| 6 |
import supervision as sv
|
| 7 |
from ultralytics import YOLO
|
| 8 |
|
| 9 |
-
model = YOLO("
|
| 10 |
CLASS_NAMES_DICT = model.model.names
|
| 11 |
|
| 12 |
SELECTED_CLASS_NAMES = ['car', 'bus', 'truck', 'motorcycle']
|
|
|
|
| 6 |
import supervision as sv
|
| 7 |
from ultralytics import YOLO
|
| 8 |
|
| 9 |
+
model = YOLO("yolo11n.pt")
|
| 10 |
CLASS_NAMES_DICT = model.model.names
|
| 11 |
|
| 12 |
SELECTED_CLASS_NAMES = ['car', 'bus', 'truck', 'motorcycle']
|