Spaces:
Runtime error
Runtime error
vorstcavry
commited on
Commit
·
9c7bc40
1
Parent(s):
2d885df
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,7 @@ import pathlib
|
|
10 |
import gc
|
11 |
import time
|
12 |
import subprocess
|
13 |
-
def Gitclone
|
14 |
-
(URI:str,ClonePath:pathlib.Path ) -> int :
|
15 |
if pathlib.Path.exists(ClonePath):
|
16 |
return 0
|
17 |
for z in range(10):
|
@@ -122,7 +121,8 @@ del dList
|
|
122 |
print("ControlNet models download done.\ndownloading model")
|
123 |
#Stable Diffusion Checkpoint Model
|
124 |
|
125 |
-
DownLoad(r"https://huggingface.co/vorstcavry/mymodel/resolve/main/Cavry_V2.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion" / r"Checkpoint",
|
|
|
126 |
#downloadvae
|
127 |
DownLoad(r"https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"vae-ft-mse-840000-ema-pruned.safetensors")
|
128 |
DownLoad(r"https://huggingface.co/vorstcavry/loraasia1/resolve/main/japaneseDollLikeness_v15.safetensors",user_home / r"stable-diffusion-webui" / r"models"/ r"lora",r"japaneseDollLikeness_v15.safetensors")
|
|
|
10 |
import gc
|
11 |
import time
|
12 |
import subprocess
|
13 |
+
def Gitclone(URI:str,ClonePath:pathlib.Path ) -> int :
|
|
|
14 |
if pathlib.Path.exists(ClonePath):
|
15 |
return 0
|
16 |
for z in range(10):
|
|
|
121 |
print("ControlNet models download done.\ndownloading model")
|
122 |
#Stable Diffusion Checkpoint Model
|
123 |
|
124 |
+
DownLoad(r"https://huggingface.co/vorstcavry/mymodel/resolve/main/Cavry_V2.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion" / r"Checkpoint",
|
125 |
+
r"Cavry_V2.safetensors")
|
126 |
#downloadvae
|
127 |
DownLoad(r"https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"vae-ft-mse-840000-ema-pruned.safetensors")
|
128 |
DownLoad(r"https://huggingface.co/vorstcavry/loraasia1/resolve/main/japaneseDollLikeness_v15.safetensors",user_home / r"stable-diffusion-webui" / r"models"/ r"lora",r"japaneseDollLikeness_v15.safetensors")
|