Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
-
# Load
|
5 |
best_model = YOLO('https://huggingface.co/poudel/yolov8-cargo-package-counter/resolve/main/best.pt')
|
6 |
last_model = YOLO('https://huggingface.co/poudel/yolov8-cargo-package-counter/resolve/main/last.pt')
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
+
# Load YOLOv11 models from Hugging Face Hub
|
5 |
best_model = YOLO('https://huggingface.co/poudel/yolov8-cargo-package-counter/resolve/main/best.pt')
|
6 |
last_model = YOLO('https://huggingface.co/poudel/yolov8-cargo-package-counter/resolve/main/last.pt')
|
7 |
|