Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download docker-entrypoint.sh from FineEnvs/designworld-env: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/FineEnvs/designworld-env/resolve/main/docker-entrypoint.sh
- Command line
-
hf download hf://spaces/FineEnvs/designworld-env/docker-entrypoint.sh
-
curl -L -o docker-entrypoint.sh https://huggingface.co/spaces/FineEnvs/designworld-env/resolve/main/docker-entrypoint.sh
337 Bytes
| # The task pack: the one at DESIGN_CANVAS_PACK, or downloaded there from the Hub the first time. | |
| PACK="${DESIGN_CANVAS_PACK:-/data/pack}" | |
| if [ ! -f "$PACK/manifest.json" ]; then | |
| designgym pull --pack "$PACK" ${DESIGNGYM_PACK_SPLITS:+--splits "$DESIGNGYM_PACK_SPLITS"} || exit 1 | |
| fi | |
| export DESIGN_CANVAS_PACK="$PACK" | |
| exec "$@" | |