* fix timeline delete

* fix labelmap in config response

* create cache dirs if needed
This commit is contained in:
Blake Blackshear
2023-04-30 14:58:39 -05:00
committed by GitHub
parent 9bf98f908d
commit 19890310fe
3 changed files with 71 additions and 4 deletions

View File

@@ -867,9 +867,9 @@ def config():
config["plus"] = {"enabled": current_app.plus_api.is_active()}
for detector, detector_config in config["detectors"].items():
detector_config["model"]["labelmap"] = current_app.frigate_config.detectors[
detector
].model.merged_labelmap
detector_config["model"][
"labelmap"
] = current_app.frigate_config.model.merged_labelmap
return jsonify(config)