mennamostafa55555 commited on
Commit
63b33e8
·
1 Parent(s): b7df221

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def yolov8_inference(
37
 
38
 
39
  image=image[:, :, ::-1].astype(np.uint8)
40
- model = YOLO("/content/segment/train2/weights/best.pt")
41
 
42
  results = model(image,imgsz=640)[0]
43
  image=image[:, :, ::-1].astype(np.uint8)
 
37
 
38
 
39
  image=image[:, :, ::-1].astype(np.uint8)
40
+ model = YOLO("https://huggingface.co/spaces/devisionx/Fourth_demo/blob/main/best.pt")
41
 
42
  results = model(image,imgsz=640)[0]
43
  image=image[:, :, ::-1].astype(np.uint8)