Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from PIL import Image
|
|
6 |
import torch
|
7 |
import ultralytics
|
8 |
|
|
|
9 |
model = torch.hub.load("ultralytics/yolov5", "custom", path="yolov5_0.65map_exp7_best.pt",
|
10 |
force_reload=False)
|
11 |
|
|
|
6 |
import torch
|
7 |
import ultralytics
|
8 |
|
9 |
+
model = torch.hub.load('yolov8n.pt')
|
10 |
model = torch.hub.load("ultralytics/yolov5", "custom", path="yolov5_0.65map_exp7_best.pt",
|
11 |
force_reload=False)
|
12 |
|