Spaces:
Runtime error
Runtime error
π fix: change data path
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -20,18 +20,18 @@ RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
|
20 |
git config --global url.https://jasongzy:$(cat /run/secrets/HF_TOKEN)@huggingface.co/.insteadOf https://huggingface.co/ && \
|
21 |
git lfs install && \
|
22 |
git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \
|
23 |
-
GIT_LFS_SKIP_SMUDGE=1 git clone --recursive https://huggingface.co/datasets/jasongzy/Mixamo && \
|
24 |
cd Mixamo && \
|
25 |
git lfs pull -I animation && \
|
26 |
-
git lfs pull -I bones
|
27 |
-
|
28 |
|
29 |
WORKDIR $HOME/app
|
30 |
|
31 |
-
RUN mv ../model/data
|
32 |
-
mv ../model/output
|
33 |
rm -r ../model && \
|
34 |
-
|
35 |
pip install -r requirements-demo.txt
|
36 |
|
37 |
CMD ["python", "app.py"]
|
|
|
20 |
git config --global url.https://jasongzy:$(cat /run/secrets/HF_TOKEN)@huggingface.co/.insteadOf https://huggingface.co/ && \
|
21 |
git lfs install && \
|
22 |
git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \
|
23 |
+
GIT_LFS_SKIP_SMUDGE=1 git clone --recursive https://huggingface.co/datasets/jasongzy/Mixamo Mixamo && \
|
24 |
cd Mixamo && \
|
25 |
git lfs pull -I animation && \
|
26 |
+
git lfs pull -I "bones*.fbx" && \
|
27 |
+
rm ~/.gitconfig
|
28 |
|
29 |
WORKDIR $HOME/app
|
30 |
|
31 |
+
RUN mv ../model/data/* ./data/ && \
|
32 |
+
mv ../model/output/* ./output/ && \
|
33 |
rm -r ../model && \
|
34 |
+
mv ../Mixamo ./data/ && \
|
35 |
pip install -r requirements-demo.txt
|
36 |
|
37 |
CMD ["python", "app.py"]
|