mennamostafa55555 commited on
Commit
80b8d5c
·
1 Parent(s): 8ae1b59

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/segment/train/weights/best.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/Fifth_model/blob/main/best_weigh.pt")
39
 
40
  results = model(image,conf=conf_threshold,iou=iou_threshold ,imgsz=320)[0]
41
  detections = sv.Detections.from_yolov8(results)