Download build.sh from KayamAI/corner-shop: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/datasets/KayamAI/corner-shop/resolve/main/build.sh
- Command line
-
hf download hf://datasets/KayamAI/corner-shop/build.sh
-
curl -L -o build.sh https://huggingface.co/datasets/KayamAI/corner-shop/resolve/main/build.sh
380 Bytes
| # Copy the engine and the 100 firms into server/ before building, serving or pushing to a Space. | |
| set -e | |
| here=$(cd "$(dirname "$0")" && pwd) | |
| rm -rf "$here/server/going_concern" "$here/server/firms" | |
| cp -R "$here/../../going_concern" "$here/server/going_concern" | |
| cp -R "$here/../../firms" "$here/server/firms" | |
| find "$here/server" -name __pycache__ -prune -exec rm -rf {} + | |