mennamostafa55555 commited on
Commit
336d7ed
·
1 Parent(s): 43974f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def yolov8_inference(
35
  ):
36
 
37
 
38
- model = YOLO("/content/amazon.pt")
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)