Spaces:
Running
Running
File size: 2,514 Bytes
e9674a6 |
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 |
#!/bin/bash
# Directory to save the downloaded files
destination_dir="/Users/a2014/src"
# URLs of the files to be downloaded
file_urls=(
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/alpine.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/createLlamaPrompt.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/createSpace.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/daisy.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/docker.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/generateFiles.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/getGradioApp.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/getReactApp.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/getStreamlitApp.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/getWebApp.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/gradioDoc.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/index.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/isPythonOrGradioAppPrompt.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/isReactAppPrompt.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/isStreamlitAppPrompt.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/parseTutorial.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/streamlitDoc.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/types.mts?download=true"
"https://huggingface.co/spaces/acecalisto3/ai-app-factory/resolve/main/src/typescript.mts?download=true"
)
# Create the destination directory if it doesn't exist
mkdir -p "$destination_dir"
# Download each file
for url in "${file_urls[@]}"; do
filename=$(basename "$url")
wget -P "$destination_dir" "$url"
done
echo "All files have been downloaded to $destination_dir" |