A live bird collage card for your Home Assistant dashboard.
adding tflite bin wheel
Patrick McGuire80ee8990f2d7
diff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.shindex 8676205c..bd354cdc 100755--- a/scripts/install_birdnet.sh+++ b/scripts/install_birdnet.sh@@ -49,13 +49,15 @@ install_birdnet() {cd ~/BirdNET-Pi || exit 1echo "Upgrading pip, wheel, and setuptools"sudo pip3 install --upgrade pip wheel setuptools- echo "Fetching the TFLite pre-built binaries"- TFLITE_URL="https://drive.google.com/uc?export=download&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"- curl -c /tmp/cookie ${TFLITE_URL}- CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"- TF_COOKIE="https://drive.google.com/uc?export=download&confirm=${CODE}&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"- curl -Lb /tmp/cookie ${TF_COOKIE} -o tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl- echo "Installing the new TFLite bin wheel"+ if [ ! -f $(dirname ${my_dir})/tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl ];then+ echo "Fetching the TFLite pre-built binaries"+ TFLITE_URL="https://drive.google.com/uc?export=download&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"+ curl -c /tmp/cookie ${TFLITE_URL}+ CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"+ TF_COOKIE="https://drive.google.com/uc?export=download&confirm=${CODE}&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"+ curl -Lb /tmp/cookie ${TF_COOKIE} -o tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl+ fi+ echo "Installing the TFLite bin wheel"sudo pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whlecho "Installing colorama==0.4.4"sudo pip3 install colorama==0.4.4