Spaces:
Running
on
Zero
Running
on
Zero
git config --global url.https://$GH_TOKEN@github.com/.insteadOf https://github.com/ && \ | |
git clone --recursive https://github.com/jasongzy/3DShape2VecSet app && \ | |
git config --global url.https://jasongzy:$HF_TOKEN@huggingface.co/.insteadOf https://huggingface.co/ && \ | |
git lfs install && \ | |
git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \ | |
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/jasongzy/Mixamo app/data/Mixamo && \ | |
cd app/data/Mixamo && \ | |
git lfs pull -I animation && \ | |
git lfs pull -I 'bones*.fbx' && \ | |
rm ~/.gitconfig && \ | |
cd ../.. && \ | |
mv ../model/data/* ./data/ && \ | |
mv ../model/output/* ./output/ && \ | |
rm -r ../model && \ | |
GRADIO_SSR_MODE=False python app.py | |