Spaces:
Running on CPU Upgrade

designworld-env / docker-entrypoint.sh
AdithyaSK's picture
AdithyaSK HF Staff
DesignWorld env (design-world-release @ 5f824f3e)
af60edd verified
Raw History Blame Contribute Delete
337 Bytes
#!/bin/sh
# 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 "$@"