leoxing1996 commited on
Commit
fec53c5
·
1 Parent(s): 01878bf

use hf model to download

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -58,9 +58,10 @@ RUN huggingface-cli download Leoxing/Live2Diff live2diff.ckpt --local-dir ./mode
58
  RUN huggingface-cli download runwayml/stable-diffusion-v1-5 \
59
  --local-dir ./models/Model/stable-diffusion-v1-5
60
 
61
- RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
62
- RUN huggingface-cli download Leoxing/Live2Diff-demo-models kFeltedReV.safetensors --local-dir ./models/LoRA --token $(cat /run/secrets/HF_TOKEN)
63
- RUN huggingface-cli download Leoxing/Live2Diff-demo-models revAnimated_v2RebirthVAE.safetensors --local-dir ./models/Model --token $(cat /run/secrets/HF_TOKEN)
 
64
  RUN wget https://github.com/isl-org/MiDaS/releases/download/v3/dpt_hybrid_384.pt -P models
65
 
66
  WORKDIR ${HOME}/app/demo
 
58
  RUN huggingface-cli download runwayml/stable-diffusion-v1-5 \
59
  --local-dir ./models/Model/stable-diffusion-v1-5
60
 
61
+ RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
62
+ huggingface-cli download Leoxing/Live2Diff-demo-models kFeltedReV.safetensors --local-dir ./models/LoRA --token $(cat /run/secrets/HF_TOKEN)
63
+ RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
64
+ huggingface-cli download Leoxing/Live2Diff-demo-models revAnimated_v2RebirthVAE.safetensors --local-dir ./models/Model --token $(cat /run/secrets/HF_TOKEN)
65
  RUN wget https://github.com/isl-org/MiDaS/releases/download/v3/dpt_hybrid_384.pt -P models
66
 
67
  WORKDIR ${HOME}/app/demo