Spaces:
Running
on
Zero
Running
on
Zero
π³ chore: update install.sh
Browse files- README.md +1 -1
- 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.
|
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://
|
7 |
-
|
8 |
-
|
9 |
-
git
|
10 |
-
git
|
|
|
11 |
rm ~/.gitconfig && \
|
12 |
-
|
13 |
-
mv
|
14 |
-
|
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
|
|