Update app.py
Browse files
app.py
CHANGED
@@ -14,12 +14,15 @@ try:
|
|
14 |
except FileExistsError:
|
15 |
pass
|
16 |
os.chdir("models/Stable-diffusion")
|
17 |
-
os.system("wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt")
|
18 |
-
os.system("wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.safetensors")
|
19 |
-
os.system("wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned-fp32.safetensors")
|
20 |
-
os.system("wget https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0.vae.pt")
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
|
|
23 |
os.chdir("../..")
|
24 |
os.system("pip install -U -qq pip")
|
25 |
os.system("pip install -qq -r requirements.txt")
|
|
|
14 |
except FileExistsError:
|
15 |
pass
|
16 |
os.chdir("models/Stable-diffusion")
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
models = [
|
19 |
+
"https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt",
|
20 |
+
"https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.safetensors",
|
21 |
+
"https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned-fp32.safetensors",
|
22 |
+
"https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0.vae.pt",
|
23 |
+
]
|
24 |
|
25 |
+
os.system(f"wget {' '.join(models)}")
|
26 |
os.chdir("../..")
|
27 |
os.system("pip install -U -qq pip")
|
28 |
os.system("pip install -qq -r requirements.txt")
|