NightPrince commited on
Commit
af684bb
·
verified ·
1 Parent(s): fe9f348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from ultralytics import YOLO
3
  from PIL import Image
4
 
5
  # Load the trained YOLOv8 model
6
- model = YOLO(r"C:\Users\yahya\Downloads\best.pt")
7
 
8
  # Define the prediction function
9
  def predict(image):
 
3
  from PIL import Image
4
 
5
  # Load the trained YOLOv8 model
6
+ model = YOLO("best.pt")
7
 
8
  # Define the prediction function
9
  def predict(image):