Spaces:
Runtime error
Runtime error
Commit
·
6ac1fcf
1
Parent(s):
4d26a0d
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def yolov8_inference(
|
|
38 |
|
39 |
|
40 |
image=image[:, :, ::-1].astype(np.uint8)
|
41 |
-
model = YOLO("/
|
42 |
|
43 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=360)[0]
|
44 |
image=image[:, :, ::-1].astype(np.uint8)
|
|
|
38 |
|
39 |
|
40 |
image=image[:, :, ::-1].astype(np.uint8)
|
41 |
+
model = YOLO("https://huggingface.co/spaces/devisionx/Fifth_demo/blob/main/best_weigh.pt")
|
42 |
|
43 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=360)[0]
|
44 |
image=image[:, :, ::-1].astype(np.uint8)
|