Spaces:
Running
Running
Update app.py
Browse files
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(
|
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
|