mennamostafa55555 commited on
Commit
6ac1fcf
·
1 Parent(s): 4d26a0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def yolov8_inference(
38
 
39
 
40
  image=image[:, :, ::-1].astype(np.uint8)
41
- model = YOLO("/content/segment/train/weights/best.pt")
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)