Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ else:
|
|
43 |
|
44 |
|
45 |
# Please duplicate this space and delete # character in front of the model you want to use or add here more ckpts with same structure os.system(f"wget -q https://CKPT_URL -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/CKPT_NAME.ckpt")
|
46 |
-
os.system(f"wget -q https://huggingface.co/
|
47 |
-
os.system(f"wget -q https://huggingface.co/Linaqruf/anything-
|
48 |
os.system(f"wget -q https://huggingface.co/prompthero/midjourney-v4-diffusion/resolve/main/mdjrny-v4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/mdjrny-v4.ckpt")
|
49 |
|
50 |
os.system(f"python launch.py --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test --gradio-auth {os.getenv('USERNAME')}:{os.getenv('PASSWORD')}")
|
|
|
43 |
|
44 |
|
45 |
# Please duplicate this space and delete # character in front of the model you want to use or add here more ckpts with same structure os.system(f"wget -q https://CKPT_URL -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/CKPT_NAME.ckpt")
|
46 |
+
os.system(f"wget -q https://huggingface.co/andite/anything-v4.5/resolve/main/anything-V4.5-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/anything-V4.5-pruned.ckpt")
|
47 |
+
os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v4.5/resolve/main/anything-V4.5.vae.pt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/anything-V4.5-pruned.vae.pt")
|
48 |
os.system(f"wget -q https://huggingface.co/prompthero/midjourney-v4-diffusion/resolve/main/mdjrny-v4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/mdjrny-v4.ckpt")
|
49 |
|
50 |
os.system(f"python launch.py --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api --skip-torch-cuda-test --gradio-auth {os.getenv('USERNAME')}:{os.getenv('PASSWORD')}")
|