From ec57bdaf832c0ab05a5ca494cb56ba5afa08fae4 Mon Sep 17 00:00:00 2001 From: mcguirepr89 <60325264+mcguirepr89@users.noreply.github.com> Date: Wed, 29 Sep 2021 20:36:36 -0400 Subject: [PATCH] Update install_birdnet.sh --- scripts/install_birdnet.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.sh index 896be17..3a3035f 100755 --- a/scripts/install_birdnet.sh +++ b/scripts/install_birdnet.sh @@ -49,19 +49,19 @@ install_birdnet() { set -e cd ~/BirdNET-Lite || exit 1 echo "Upgrading pip, wheel, and setuptools" - sudo pip3 install --upgrade pip wheel setuptools + sudo pip3 install --upgrade pip wheel setuptools &> /dev/null echo "Fetching the TFLite pre-built binaries" TFLITE_URL="https://drive.google.com/uc?export=download&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA" - curl -sc /tmp/cookie ${TFLITE_URL} > /dev/null + curl -sc /tmp/cookie ${TFLITE_URL} &> /dev/null 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 + curl -Lb /tmp/cookie ${TF_COOKIE} -o tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl &> /dev/null echo "Installing the new TFLite bin wheel" - sudo pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl + sudo pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl &> /dev/null echo "Installing colorama==0.4.4" - sudo pip3 install colorama==0.4.4 + sudo pip3 install colorama==0.4.4 &> /dev/null echo "Installing librosa" - sudo pip3 install librosa + sudo pip3 install librosa &> /dev/null } echo "