This commit is contained in:
Nicolas Mowen 2024-04-03 08:06:05 -06:00
parent d9da448348
commit ff31cc1807

View File

@ -159,9 +159,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.model.merged_labelmap
detector_config["model"]["labelmap"] = (
current_app.frigate_config.model.merged_labelmap
)
return jsonify(config)