This commit is contained in:
Mitch Ross 2024-12-15 13:17:43 -05:00
parent d05ad07621
commit 5be6fe1cfb
2 changed files with 3 additions and 4 deletions

View File

@ -147,9 +147,9 @@ def config(request: Request):
config["model"]["colormap"] = config_obj.model.colormap
for detector_config in config["detectors"].values():
detector_config["model"][
"labelmap"
] = request.app.frigate_config.model.merged_labelmap
detector_config["model"]["labelmap"] = (
request.app.frigate_config.model.merged_labelmap
)
return JSONResponse(content=config)

View File

@ -1,7 +1,6 @@
from prometheus_client import (
Counter,
Gauge,
Histogram,
Info,
generate_latest,
CONTENT_TYPE_LATEST,