TheKnight115 commited on
Commit
43ac6e1
·
verified ·
1 Parent(s): 868db07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import hf_hub_download
7
  model_file = hf_hub_download(repo_id="TheKnight115/Yolov8m", filename="yolov8_Medium.pt")
8
 
9
  # Load the YOLO model
10
- model = YOLO("TheKnight115/yolov8_Medium")
11
 
12
  def run_yolo(image):
13
  # Run the model on the image and get results
 
7
  model_file = hf_hub_download(repo_id="TheKnight115/Yolov8m", filename="yolov8_Medium.pt")
8
 
9
  # Load the YOLO model
10
+ model = YOLO(model_file)
11
 
12
  def run_yolo(image):
13
  # Run the model on the image and get results