diff --git a/counter_dashboard.py b/counter_dashboard.py index 51a3367..52bb1e8 100644 --- a/counter_dashboard.py +++ b/counter_dashboard.py @@ -40,7 +40,7 @@ SITE_NAME = os.getenv("SITE_NAME", "LIVE") CAMERA_NAME = os.getenv("CAMERA_NAME", "") STREAM_FPS_DISPLAY = os.getenv("STREAM_FPS_DISPLAY", "30.0") STREAM_RESOLUTION_DISPLAY = os.getenv("STREAM_RESOLUTION_DISPLAY", "1280x720") -STREAM_ACCURACY_PCT = os.getenv("STREAM_ACCURACY_PCT", "98") +STREAM_ACCURACY_PCT = os.getenv("STREAM_ACCURACY_PCT", "-") DASHBOARD_PORT = int(os.getenv("DASHBOARD_PORT", "5000")) DASHBOARD_HOST = os.getenv("DASHBOARD_HOST", "0.0.0.0") diff --git a/templates/dashboard.html b/templates/dashboard.html index 83b812e..ed190f5 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -1344,7 +1344,7 @@ document.addEventListener('DOMContentLoaded', () => { } const accFill = document.getElementById('accuracy-fill'); - if (accFill) accFill.style.width = `${accFill.dataset.accuracy || 98}%`; + if (accFill) accFill.style.width = `${accFill.dataset.accuracy || '-'}%`; loadSummary(); loadCurrentBatch(); loadChartData(7);