mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
Fix
This commit is contained in:
parent
427d4dfcbe
commit
a27f44294d
@ -176,8 +176,8 @@ async def set_gpu_stats(
|
|||||||
stats[nvidia_usage[i]["name"]] = {
|
stats[nvidia_usage[i]["name"]] = {
|
||||||
"gpu": str(round(float(nvidia_usage[i]["gpu"]), 2)) + "%",
|
"gpu": str(round(float(nvidia_usage[i]["gpu"]), 2)) + "%",
|
||||||
"mem": str(round(float(nvidia_usage[i]["mem"]), 2)) + "%",
|
"mem": str(round(float(nvidia_usage[i]["mem"]), 2)) + "%",
|
||||||
"enc": str(round(float(nvidia_usage[i]["enc"], 2)) + "%"),
|
"enc": str(round(float(nvidia_usage[i]["enc"]), 2)) + "%",
|
||||||
"dec": str(round(float(nvidia_usage[i]["dec"], 2)) + "%"),
|
"dec": str(round(float(nvidia_usage[i]["dec"]), 2)) + "%",
|
||||||
}
|
}
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user