runtime error
Exit code: 1. Reason: WARNING ā ļø user config directory '/home/user/.config/Ultralytics' is not writeable, defaulting to '/tmp' or CWD.Alternatively you can define a YOLO_CONFIG_DIR environment variable for this path. Creating new Ultralytics Settings v0.0.6 file ā View Ultralytics Settings with 'yolo settings' or at '/tmp/Ultralytics/settings.json' Update Settings with 'yolo settings key=value', i.e. 'yolo settings runs_dir=path/to/dir'. For help see https://docs.ultralytics.com/quickstart/#ultralytics-settings. š Starting SafetyMaster Pro - Gradio Interface š¤ Loading AI model for safety detection... Downloading PPE detection model from https://github.com/snehilsanyal/Construction-Site-Safety-PPE-Detection/raw/main/models/best.pt... Downloaded PPE model successfully as ppe_yolov8_model_0.pt Loading YOLOv8 PPE model from ppe_yolov8_model_0.pt Model classes: ['Hardhat', 'Mask', 'NO-Hardhat', 'NO-Mask', 'NO-Safety Vest', 'Person', 'Safety Cone', 'Safety Vest', 'machinery', 'vehicle'] ā Found PPE-capable model with 10 classes Using device: cpu Loaded PPE detection model with stricter confidence thresholds Equipment thresholds: {'hardhat': 0.7, 'safety_vest': 0.75, 'mask': 0.6, 'person': 0.5, 'no_hardhat': 0.6, 'no_safety_vest': 0.6, 'no_mask': 0.6} ā Safety detector initialized successfully Traceback (most recent call last): File "/home/user/app/gradio_interface.py", line 517, in <module> main() File "/home/user/app/gradio_interface.py", line 498, in main interface = app.create_interface() File "/home/user/app/gradio_interface.py", line 436, in create_interface interface.load( TypeError: EventListener._setup.<locals>.event_trigger() got an unexpected keyword argument 'every'
Container logs:
Fetching error logs...