Spaces:
Sleeping
Sleeping
Commit ·
336d7ed
1
Parent(s): 43974f8
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def yolov8_inference(
|
|
| 35 |
):
|
| 36 |
|
| 37 |
|
| 38 |
-
model = YOLO("/
|
| 39 |
|
| 40 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=320)[0]
|
| 41 |
detections = sv.Detections.from_yolov8(results)
|
|
|
|
| 35 |
):
|
| 36 |
|
| 37 |
|
| 38 |
+
model = YOLO("https://huggingface.co/spaces/devisionx/Amazon_demo/blob/main/amazon.pt")
|
| 39 |
|
| 40 |
results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=320)[0]
|
| 41 |
detections = sv.Detections.from_yolov8(results)
|