user1729 commited on
Commit
871e044
·
unverified ·
1 Parent(s): 41dc905

Delete download_model.sh

Browse files
Files changed (1) hide show
  1. download_model.sh +0 -23
download_model.sh DELETED
@@ -1,23 +0,0 @@
1
- #!/bin/bash
2
- #view url: https://drive.google.com/file/d/1aR6PUjDi8fFBp0_pxe1pCv9S4EBptC5W/view?usp=sharing
3
- FILE_ID="1aR6PUjDi8fFBp0_pxe1pCv9S4EBptC5W"
4
- FILE_NAME="models-cancer-api.zip"
5
-
6
- echo "Downloading model from Google Drive..."
7
-
8
- curl -L -o "$FILE_NAME" "https://docs.google.com/uc?export=download&id=${FILE_ID}"
9
-
10
- # Check download success
11
- if [ ! -f "$FILE_NAME" ]; then
12
- echo "Download failed!"
13
- exit 1
14
- fi
15
-
16
- # Unzip
17
- echo "Unzipping $FILE_NAME..."
18
- unzip "$FILE_NAME"
19
-
20
- # Optional: Clean up
21
- # rm "$FILE_NAME"
22
-
23
- echo "Done."