RSPMetaAdmin commited on
Commit
2cb3ed2
·
verified ·
1 Parent(s): 29e0c06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,14 +25,16 @@ 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
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/RealVisXL_V4.0/resolve/main/RealVisXL_V4.0.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o RealVisXL_V4.0.safetensors")
27
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/FormFinder-XL_v2.safetensors -d /home/user/app/stable-diffusion-webui/models/Lora -o FormFinder-XL_v2.safetensors")
 
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
-
36
  # Download models using aria2c
37
  #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_v11f1p_sd15_depth.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Depth.pth")
38
  #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_v11p_sd15_canny.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Canny.pth")
 
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
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/RealVisXL_V4.0/resolve/main/RealVisXL_V4.0.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o RealVisXL_V4.0.safetensors")
27
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/FormFinder-XL_v2.safetensors -d /home/user/app/stable-diffusion-webui/models/Lora -o FormFinder-XL_v2.safetensors")
28
+
29
  os.chdir(f"/home/user/app/stable-diffusion-webui/extensions")
30
+
31
  os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git")
32
  os.system(f"git clone https://github.com/ahgsql/StyleSelectorXL.git")
33
  os.system(f"git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git")
34
  os.system(f"git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git")
35
  # Installing required dependencies (if any)
36
  os.chdir(f"/home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models")
37
+ os.chdir(f"/home/user/app/stable-diffusion-webui/scripts/")
38
  # Download models using aria2c
39
  #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_v11f1p_sd15_depth.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Depth.pth")
40
  #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_v11p_sd15_canny.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Canny.pth")