Spaces:
Running
on
Zero
Running
on
Zero
File size: 723 Bytes
2c4a67f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/bin/bash
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
|