Spaces:
Sleeping
Sleeping
Commit ·
22de3cb
1
Parent(s): 1cdeb8f
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def yolov8_inference(
|
|
| 33 |
):
|
| 34 |
|
| 35 |
image=image[:, :, ::-1].astype(np.uint8)
|
| 36 |
-
model = YOLO("/
|
| 37 |
results = model(image,imgsz=640)[0]
|
| 38 |
image=image[:, :, ::-1].astype(np.uint8)
|
| 39 |
detections = sv.Detections.from_yolov8(results)
|
|
|
|
| 33 |
):
|
| 34 |
|
| 35 |
image=image[:, :, ::-1].astype(np.uint8)
|
| 36 |
+
model = YOLO("https://huggingface.co/spaces/devisionx/Sixth_Demo/blob/main/bestt_weight.pt")
|
| 37 |
results = model(image,imgsz=640)[0]
|
| 38 |
image=image[:, :, ::-1].astype(np.uint8)
|
| 39 |
detections = sv.Detections.from_yolov8(results)
|