Spaces:
Running
on
Zero
Running
on
Zero
# git config --global url.https://$GH_TOKEN@github.com/.insteadOf https://github.com/ && \ | |
git config --global url.https://jasongzy:$HF_TOKEN@huggingface.co/.insteadOf https://huggingface.co/ && \ | |
git lfs install && \ | |
git clone https://github.com/jasongzy/Make-It-Animatable --recursive --single-branch app && \ | |
wget https://github.com/facebookincubator/FBX2glTF/releases/download/v0.9.7/FBX2glTF-linux-x64 -O app/util/FBX2glTF && \ | |
chmod +x app/util/FBX2glTF && \ | |
git clone https://huggingface.co/jasongzy/Make-It-Animatable hf-data && \ | |
GIT_LFS_SKIP_SMUDGE=1 git -C app/data clone https://huggingface.co/datasets/jasongzy/Mixamo && \ | |
git -C app/data/Mixamo lfs pull -I 'bones*.fbx,animation' && \ | |
rm ~/.gitconfig && \ | |
mv hf-data/data/* app/data/ && \ | |
mv hf-data/output/* app/output/ && \ | |
rm -r hf-data | |