Views
No views yet
1from ultralytics import YOLO 2from huggingface_hub import hf_hub_download 3 4weights_path = hf_hub_download(repo_id="samdutse/pothole-yolov8", filename="best.pt") 5model = YOLO(weights_path) 6results = model.predict("road.jpg")