From 41ac558642de5fe50e1dce3f3ddf2aa6d3b0a9b6 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 24 Sep 2022 18:17:35 -0600 Subject: [PATCH] pass config --- frigate/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/stats.py b/frigate/stats.py index 8722d8b7f..e794e4311 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -160,7 +160,7 @@ def stats_snapshot( stats["detection_fps"] = round(total_detection_fps, 2) stats["cpu_usages"] = get_cpu_stats() - stats["gpu_usages"] = get_gpu_stats() + stats["gpu_usages"] = get_gpu_stats(config) stats["service"] = { "uptime": (int(time.time()) - stats_tracking["started"]),