Spaces:
Running
on
Zero
Running
on
Zero
# Configure Git with Hugging Face token | |
git config --global url.https://dkatz2391:$HF_TOKEN@huggingface.co/.insteadOf https://huggingface.co/ | |
git lfs install | |
# Clone the main application | |
git clone https://github.com/dkatz23/retry-Make-It-Animatable --recursive --single-branch app | |
# Download and set up FBX2glTF | |
wget https://raw.githubusercontent.com/AdamGman/Make-It-Animatable/main/util/FBX2glTF-linux-x64 -O app/util/FBX2glTF | |
chmod +x app/util/FBX2glTF | |
# Clone AnimateDataset (dataset) | |
git clone https://huggingface.co/datasets/dkatz2391/AnimateDataset hf-data | |
# Clone Mixamo2 (model) | |
mkdir -p app/data | |
git clone https://huggingface.co/dkatz2391/Mixamo2 app/data/Mixamo | |
git -C app/data/Mixamo lfs pull | |
# Clean up Git config | |
rm ~/.gitconfig | |
# Move files from hf-data | |
mv hf-data/data/* app/data/ | |
mv hf-data/output/* app/output/ | |
rm -r hf-data |