From 3ff58c5892a9f4cfdba54dc5c083b270ad7cd6e2 Mon Sep 17 00:00:00 2001 From: Lakith <25282199+LakithKarunaratne@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:50:58 +0530 Subject: [PATCH] Update download.sh Resolves an issue where the model download is interrupted in windows due to double quotes --- download.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/download.sh b/download.sh index 9ba1b533c..fe1937ad0 100755 --- a/download.sh +++ b/download.sh @@ -6,6 +6,7 @@ set -e read -p "Enter the URL from email: " PRESIGNED_URL +PRESIGNED_URL=$(echo "$PRESIGNED_URL" | tr -d '\"') # drops double quotes for windows echo "" read -p "Enter the list of models to download without spaces (7B,13B,70B,7B-chat,13B-chat,70B-chat), or press Enter for all: " MODEL_SIZE TARGET_FOLDER="." # where all files should end up @@ -67,4 +68,4 @@ do else (cd ${TARGET_FOLDER}"/${MODEL_PATH}" && md5sum -c checklist.chk) fi -done \ No newline at end of file +done