keffy commited on
Commit
578b5c8
1 Parent(s): 7ba059b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import numpy as np
4
  from ultralytics import YOLO
5
 
6
  # Load the YOLOv8 model
7
- model = YOLO("yolov8n.pt") # Ensure this file is in the same directory as app.py on Hugging Face
8
 
9
  # Define the inference function
10
  def predict(image):
 
4
  from ultralytics import YOLO
5
 
6
  # Load the YOLOv8 model
7
+ model = YOLO("best.pt") # Ensure this file is in the same directory as app.py on Hugging Face
8
 
9
  # Define the inference function
10
  def predict(image):