jasongzy commited on
Commit
4655284
Β·
1 Parent(s): eee9c78

🐳 chore: update install.sh

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. install.sh +10 -11
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ’ƒ
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.20.0
8
  python_version: 3.10.13
9
  app_file: app.py
10
  pinned: true
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 5.20.1
8
  python_version: 3.10.13
9
  app_file: app.py
10
  pinned: true
install.sh CHANGED
@@ -1,15 +1,14 @@
1
  #!/bin/bash
2
- git config --global url.https://[email protected]/.insteadOf https://github.com/ && \
3
- git clone --recursive https://github.com/jasongzy/3DShape2VecSet app && \
4
  git config --global url.https://jasongzy:[email protected]/.insteadOf https://huggingface.co/ && \
5
  git lfs install && \
6
- git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \
7
- GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/jasongzy/Mixamo app/data/Mixamo && \
8
- cd app/data/Mixamo && \
9
- git lfs pull -I animation && \
10
- git lfs pull -I 'bones*.fbx' && \
 
11
  rm ~/.gitconfig && \
12
- cd ../.. && \
13
- mv ../model/data/* ./data/ && \
14
- mv ../model/output/* ./output/ && \
15
- rm -r ../model
 
1
  #!/bin/bash
2
+ # git config --global url.https://[email protected]/.insteadOf https://github.com/ && \
 
3
  git config --global url.https://jasongzy:[email protected]/.insteadOf https://huggingface.co/ && \
4
  git lfs install && \
5
+ git clone https://github.com/jasongzy/Make-It-Animatable --recursive --single-branch app && \
6
+ wget https://github.com/facebookincubator/FBX2glTF/releases/download/v0.9.7/FBX2glTF-linux-x64 -O app/util/FBX2glTF && \
7
+ chmod +x app/util/FBX2glTF && \
8
+ git clone https://huggingface.co/jasongzy/Make-It-Animatable hf-data && \
9
+ GIT_LFS_SKIP_SMUDGE=1 git -C app/data clone https://huggingface.co/datasets/jasongzy/Mixamo && \
10
+ git -C app/data/Mixamo lfs pull -I 'bones*.fbx,animation' && \
11
  rm ~/.gitconfig && \
12
+ mv hf-data/data/* app/data/ && \
13
+ mv hf-data/output/* app/output/ && \
14
+ rm -r hf-data