forked from Github/frigate
Bug fixes (#6332)
* fix timeline delete * fix labelmap in config response * create cache dirs if needed
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user