Add safe YOLO model env configurator
This commit is contained in:
@@ -263,6 +263,15 @@ YOLO_ENABLED=true
|
||||
YOLO_MODEL_PATH=/app/models/local-model.pt
|
||||
```
|
||||
|
||||
The root helper can write those values safely after a local model is placed:
|
||||
|
||||
```bash
|
||||
python scripts/configure_yolo_model.py \
|
||||
--models-dir /mnt/user/appdata/geointel/models \
|
||||
--env-file /mnt/user/appdata/geointel/.env \
|
||||
--apply
|
||||
```
|
||||
|
||||
The smoke loads only the supplied local model file, does not run inference and
|
||||
does not download weights.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user