Duplicated from DSatishchandra/solar_wind_fault_detection
23171b2 2170c2c e629b5d 23171b2 e629b5d 1e1ee1e
1
2
3
4
5
6
7
8
from ultralytics import YOLO def load_solar_model(): try: model = YOLO("yolov5s.pt") # Load the YOLOv5s model return model except Exception as e: raise Exception(f"Error loading solar model: {str(e)}")