DeltaSatellite1 commited on
Commit
97a1cfe
·
verified ·
1 Parent(s): 499b1f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ model = None
8
 
9
  def predict_image(img):
10
  """Predicts objects in an image using a YOLOv8 model with adjustable confidence and IOU thresholds."""
11
- model = YOLO("best")
12
  # model.predict(source=img, save=True)
13
  results = model.predict(
14
  source=img,
 
8
 
9
  def predict_image(img):
10
  """Predicts objects in an image using a YOLOv8 model with adjustable confidence and IOU thresholds."""
11
+ model = YOLO("best.pt")
12
  # model.predict(source=img, save=True)
13
  results = model.predict(
14
  source=img,