Spaces:
Runtime error
Runtime error
RSPMetaAdmin
commited on
Commit
•
8f7a13c
1
Parent(s):
cbb3cfa
Update app.py
Browse files
app.py
CHANGED
@@ -25,11 +25,11 @@ os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggin
|
|
25 |
#os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/Realistic_Vision_V6.0_B1_noVAE/resolve/main/Realistic_Vision_V6.0_NV_B1_inpainting.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Realistic_Vision_V6.0_NV_B1_inpainting.safetensors")
|
26 |
|
27 |
|
28 |
-
# Cloning the sd-webui-controlnet extension
|
29 |
os.chdir(f"/home/user/app/stable-diffusion-webui/extensions")
|
30 |
os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git")
|
31 |
os.system(f"git clone https://github.com/ahgsql/StyleSelectorXL.git")
|
32 |
os.system(f"git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git")
|
|
|
33 |
# Installing required dependencies (if any)
|
34 |
os.chdir(f"/home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models")
|
35 |
|
@@ -45,6 +45,7 @@ os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggin
|
|
45 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SargeZT/t2i-adapter-sdxl-segmentation/resolve/main/diffusion_pytorch_model.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2i_adapter_sdxl_segmentation")
|
46 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/diffusers_xl_canny_mid.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o xl_canny_mid.safetensors")
|
47 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/diffusers_xl_depth_mid.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o xl_depth_mid.safetensor")
|
|
|
48 |
os.chdir(f"/home/user/app/stable-diffusion-webui")
|
49 |
|
50 |
|
|
|
25 |
#os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/Realistic_Vision_V6.0_B1_noVAE/resolve/main/Realistic_Vision_V6.0_NV_B1_inpainting.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Realistic_Vision_V6.0_NV_B1_inpainting.safetensors")
|
26 |
|
27 |
|
|
|
28 |
os.chdir(f"/home/user/app/stable-diffusion-webui/extensions")
|
29 |
os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git")
|
30 |
os.system(f"git clone https://github.com/ahgsql/StyleSelectorXL.git")
|
31 |
os.system(f"git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git")
|
32 |
+
os.system(f"git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git")
|
33 |
# Installing required dependencies (if any)
|
34 |
os.chdir(f"/home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models")
|
35 |
|
|
|
45 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SargeZT/t2i-adapter-sdxl-segmentation/resolve/main/diffusion_pytorch_model.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2i_adapter_sdxl_segmentation")
|
46 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/diffusers_xl_canny_mid.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o xl_canny_mid.safetensors")
|
47 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/diffusers_xl_depth_mid.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o xl_depth_mid.safetensor")
|
48 |
+
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o sd15_tile.pth")
|
49 |
os.chdir(f"/home/user/app/stable-diffusion-webui")
|
50 |
|
51 |
|