MalekCode03 commited on
Commit
5b20eb4
·
1 Parent(s): 741f3dc

Add application file

Browse files
Files changed (2) hide show
  1. best.pt → EyesCare9cbest50.pt +0 -0
  2. app.py +1 -1
best.pt → EyesCare9cbest50.pt RENAMED
File without changes
app.py CHANGED
@@ -25,7 +25,7 @@ def yoloV8_func(image: gr.Image = None,
25
  """
26
  # Load the YOLOv8 model from the 'best.pt' checkpoint
27
  #model_path = "EyesCareEyeDetectModel.pt"
28
- model = YOLO("best.pt")
29
 
30
  # Perform object detection on the input image using the YOLOv8 model
31
  results = model.predict(image,
 
25
  """
26
  # Load the YOLOv8 model from the 'best.pt' checkpoint
27
  #model_path = "EyesCareEyeDetectModel.pt"
28
+ model = YOLO("EyesCare9cbest50.pt.pt")
29
 
30
  # Perform object detection on the input image using the YOLOv8 model
31
  results = model.predict(image,