cleanup comments

This commit is contained in:
Weitheng Haw 2025-08-13 18:17:44 +08:00
parent 22d9260386
commit c7f80beb48

View File

@ -18,7 +18,7 @@ def check_cpu_has_avx() -> bool:
bool: True if CPU has AVX support, False otherwise bool: True if CPU has AVX support, False otherwise
""" """
try: try:
# Try Linux method first (most common for Frigate) # Try Linux method first
if sys.platform.startswith("linux"): if sys.platform.startswith("linux"):
with open("/proc/cpuinfo", "r") as f: with open("/proc/cpuinfo", "r") as f:
cpuinfo = f.read().lower() cpuinfo = f.read().lower()