Anthropohpobe commited on
Commit
0f64772
1 Parent(s): 92f99bf

adding models

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -69,9 +69,9 @@ else:
69
  os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/Stable-diffusion.git")
70
 
71
  #Mettre le modele du préprocessing de l'image
72
- os.system(f"mkdir /home/user/app/stable-diffusion-webui/models/ControlNet")
73
- os.system(f"git clone https://huggingface.co/lllyasviel/ControlNet /home/user/app/stable-diffusion-webui/models/ControlNet")
74
- os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/ControlNet.git")
75
 
76
  os.system(f"wget -q https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt")
77
  os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.yaml")
 
69
  os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/Stable-diffusion.git")
70
 
71
  #Mettre le modele du préprocessing de l'image
72
+ # os.system(f"mkdir /home/user/app/stable-diffusion-webui/models/Stable-diffusion")
73
+ # os.system(f"git clone https://huggingface.co/lllyasviel/ControlNet /home/user/app/stable-diffusion-webui/models/ControlNet")
74
+ # os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/ControlNet.git")
75
 
76
  os.system(f"wget -q https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt")
77
  os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.yaml")