File size: 1,040 Bytes
3426410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
#view url: https://drive.google.com/file/d/1DVPiNx-UKO7B6HvNniGIOOadJ3yq083i/view?usp=sharing
FILE_ID="1DVPiNx-UKO7B6HvNniGIOOadJ3yq083i"
FILE_NAME="cancer_data.zip"

echo "Downloading data from Google Drive..."

curl -L -o "$FILE_NAME" "https://docs.google.com/uc?export=download&id=${FILE_ID}"

# Check download success
if [ ! -f "$FILE_NAME" ]; then
  echo "Download failed!"
  exit 1
fi

# Unzip
echo "Unzipping $FILE_NAME..."
unzip "$FILE_NAME"

# Optional: Clean up
# rm "$FILE_NAME"

echo "Done."

#!/bin/bash
#view url: https://drive.google.com/file/d/1aR6PUjDi8fFBp0_pxe1pCv9S4EBptC5W/view?usp=sharing
FILE_ID="1aR6PUjDi8fFBp0_pxe1pCv9S4EBptC5W"
FILE_NAME="models-cancer-api.zip"

echo "Downloading model from Google Drive..."

curl -L -o "$FILE_NAME" "https://docs.google.com/uc?export=download&id=${FILE_ID}"

# Check download success
if [ ! -f "$FILE_NAME" ]; then
  echo "Download failed!"
  exit 1
fi

# Unzip
echo "Unzipping $FILE_NAME..."
unzip "$FILE_NAME"

# Optional: Clean up
# rm "$FILE_NAME"

echo "Done."