mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
Format consistently
This commit is contained in:
parent
e269a5fc3e
commit
ac646d7b83
@ -399,7 +399,7 @@ def get_rockchip_gpu_stats() -> dict[str, str]:
|
||||
if not load_values:
|
||||
return None
|
||||
|
||||
average_load = str(round(sum(load_values) / len(load_values), 2))
|
||||
average_load = f"{round(sum(load_values) / len(load_values), 2)}%"
|
||||
return {"gpu": average_load, "mem": "-"}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user