mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-19 09:27:06 +03:00
lint
This commit is contained in:
parent
d05ad07621
commit
5be6fe1cfb
@ -147,9 +147,9 @@ def config(request: Request):
|
|||||||
config["model"]["colormap"] = config_obj.model.colormap
|
config["model"]["colormap"] = config_obj.model.colormap
|
||||||
|
|
||||||
for detector_config in config["detectors"].values():
|
for detector_config in config["detectors"].values():
|
||||||
detector_config["model"][
|
detector_config["model"]["labelmap"] = (
|
||||||
"labelmap"
|
request.app.frigate_config.model.merged_labelmap
|
||||||
] = request.app.frigate_config.model.merged_labelmap
|
)
|
||||||
|
|
||||||
return JSONResponse(content=config)
|
return JSONResponse(content=config)
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
from prometheus_client import (
|
from prometheus_client import (
|
||||||
Counter,
|
Counter,
|
||||||
Gauge,
|
Gauge,
|
||||||
Histogram,
|
|
||||||
Info,
|
Info,
|
||||||
generate_latest,
|
generate_latest,
|
||||||
CONTENT_TYPE_LATEST,
|
CONTENT_TYPE_LATEST,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user