Anthropohpobe commited on
Commit
92f99bf
1 Parent(s): 8ae7bfd

adding models

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -63,7 +63,16 @@ else:
63
  os.system(f"git clone https://huggingface.co/Xenos14/Loras /home/user/app/stable-diffusion-webui/models/Lora/Xenos")
64
  os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/Lora/Xenos/.git")
65
 
66
-
 
 
 
 
 
 
 
 
 
67
  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")
68
  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
 
 
63
  os.system(f"git clone https://huggingface.co/Xenos14/Loras /home/user/app/stable-diffusion-webui/models/Lora/Xenos")
64
  os.system(f"rm -r -f /home/user/app/stable-diffusion-webui/models/Lora/Xenos/.git")
65
 
66
+ #Mettre le modele du style de l'image ici GhostMix
67
+ os.system(f"mkdir /home/user/app/stable-diffusion-webui/models/Stable-diffusion")
68
+ os.system(f"git clone https://huggingface.co/stablediffusionapi/ghostmix/ /home/user/app/stable-diffusion-webui/models/Stable-diffusion")
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")
78