Spaces:
Running on CPU Upgrade

File size: 337 Bytes
af60edd
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/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 "$@"