A live bird collage card for your Home Assistant dashboard.
increated tflite interpreter's num_threads=2
Patrick McGuire38e8c0f99934
diff --git a/analyze.py b/analyze.pyindex 9f1dcb60..564bc9f2 100644--- a/analyze.py+++ b/analyze.py@@ -24,7 +24,7 @@ def loadModel():print('LOADING TF LITE MODEL...', end=' ')# Load TFLite model and allocate tensors.- interpreter = tflite.Interpreter(model_path='model/BirdNET_6K_GLOBAL_MODEL.tflite')+ interpreter = tflite.Interpreter(model_path='model/BirdNET_6K_GLOBAL_MODEL.tflite',num_threads=2)interpreter.allocate_tensors()# Get input and output tensors.diff --git a/scripts/index.html b/scripts/index.htmlindex 0e158b24..2fe3bd7e 100644--- a/scripts/index.html+++ b/scripts/index.html@@ -22,3 +22,7 @@<input type="submit" value="Reboot BirdNET-system"></form>+<form action="/scripts/shutdown_system.php">+ <input type="submit" value="Shutdown BirdNET-system">+</form>+