Spaces:
Configuration error
Configuration error
Anthropohpobe
commited on
Commit
•
d49fff8
1
Parent(s):
0f64772
fp
Browse files
app.py
CHANGED
@@ -65,13 +65,13 @@ else:
|
|
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/
|
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 |
-
|
73 |
-
|
74 |
-
|
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")
|
|
|
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/drnighthan/GhostMix/blob/main/GhostMix-V1.1.safetensors /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/Stable-diffusion")
|
73 |
+
os.system(f"git clone https://huggingface.co/lllyasviel/ControlNet/tree/main/models /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")
|