Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
from PIL import Image
|
7 |
from ultralytics import YOLO
|
8 |
|
9 |
-
model = YOLO("
|
10 |
|
11 |
def detect_objects(image):
|
12 |
results = model(image)
|
|
|
6 |
from PIL import Image
|
7 |
from ultralytics import YOLO
|
8 |
|
9 |
+
model = YOLO("yolov8n.pt")
|
10 |
|
11 |
def detect_objects(image):
|
12 |
results = model(image)
|