zaman855 commited on
Commit
6dd13f2
·
verified ·
1 Parent(s): e0436bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import PIL.Image as Image
3
 
4
  from ultralytics import YOLO
5
 
6
- model = YOLO("/content/runs/detect/train/weights/best.pt")
7
 
8
 
9
  def predict_image(img, conf_threshold, iou_threshold):
 
3
 
4
  from ultralytics import YOLO
5
 
6
+ model = YOLO("best.pt")
7
 
8
 
9
  def predict_image(img, conf_threshold, iou_threshold):