mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Fix missed arg
This commit is contained in:
parent
38317b9ed4
commit
17c2522ee1
@ -609,7 +609,7 @@ def version():
|
||||
|
||||
@bp.route("/stats")
|
||||
def stats():
|
||||
stats = stats_snapshot(current_app.stats_tracking)
|
||||
stats = stats_snapshot(current_app.frigate_config, current_app.stats_tracking)
|
||||
return jsonify(stats)
|
||||
|
||||
|
||||
|
||||
@ -93,7 +93,7 @@ def get_gpu_stats(config: FrigateConfig) -> dict[str, str]:
|
||||
|
||||
if "cuvid" in args:
|
||||
# nvidia GPU
|
||||
gpu["name"] = "nvidia"
|
||||
gpu["name"] = "nvidia-cuvid"
|
||||
gpu["usage"] = "100"
|
||||
gpu["memory"] = "200"
|
||||
elif "qsv" in args:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user