RSPMetaAdmin commited on
Commit
bb3bb3d
1 Parent(s): 56be628

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -14,14 +14,14 @@ os.system(f"sed -i -e '225,227d' /home/user/app/stable-diffusion-webui/modules/u
14
  os.system(f"sed -i -e '214,217d' /home/user/app/stable-diffusion-webui/modules/ui_loadsave.py")
15
  os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
16
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/neofake/Juggernaut-Reborn/resolve/main/juggernaut_reborn.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o juggernaut_reborn.safetensors")
17
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/jzli/DreamShaper-8/resolve/main/dreamshaper_8.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o dreamshaper_8.safetensors")
18
  #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors")
19
  #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/misri/epicrealismXL_v5Ultimate/resolve/main/epicrealismXL_v5Ultimate.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o epicrealismXL_v5Ultimate.safetensors")
20
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/Realistic_Vision_V2.0/blob/main/Realistic_Vision_V2.0.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Realistic_Vision_V2.0.safetensors")
21
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/architectureExterior_v40Exterior.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o architectureExterior_v40Exterior.safetensors")
22
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/architectureUrbanSdlife_v60.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o architectureUrbanSdlife_v60.safetensors")
23
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/dvarchMultiPrompt_dvarchExterior.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o dvarchMultiPrompt_dvarchExterior.safetensors")
24
- 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")
25
 
26
 
27
  # Cloning the sd-webui-controlnet extension
@@ -32,13 +32,13 @@ os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git")
32
  os.chdir(f"/home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models")
33
 
34
  # Download models using aria2c
35
- 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")
36
- 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")
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_v11p_sd15_seg.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Seg.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_lineart.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Lineart.pth")
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_v11p_sd15_mlsd.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o MLSD.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_scribble.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Scribble.pth")
41
- os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite/resolve/main/bdsqlsz_controlllite_xl_mlsd_V2.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o bdsqlsz_controlllite_xl_mlsd_V2.safetensors")
42
  os.chdir(f"/home/user/app/stable-diffusion-webui")
43
  # Check the extension's documentation for specific dependencies
44
 
 
14
  os.system(f"sed -i -e '214,217d' /home/user/app/stable-diffusion-webui/modules/ui_loadsave.py")
15
  os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
16
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/neofake/Juggernaut-Reborn/resolve/main/juggernaut_reborn.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o juggernaut_reborn.safetensors")
17
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/jzli/DreamShaper-8/resolve/main/dreamshaper_8.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o dreamshaper_8.safetensors")
18
  #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors")
19
  #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/misri/epicrealismXL_v5Ultimate/resolve/main/epicrealismXL_v5Ultimate.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o epicrealismXL_v5Ultimate.safetensors")
20
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/SG161222/Realistic_Vision_V2.0/blob/main/Realistic_Vision_V2.0.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o Realistic_Vision_V2.0.safetensors")
21
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/architectureExterior_v40Exterior.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o architectureExterior_v40Exterior.safetensors")
22
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/architectureUrbanSdlife_v60.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o architectureUrbanSdlife_v60.safetensors")
23
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/RSPMetaAdmin/RSP_Models/resolve/main/dvarchMultiPrompt_dvarchExterior.safetensors -d /home/user/app/stable-diffusion-webui/models/Stable-diffusion -o dvarchMultiPrompt_dvarchExterior.safetensors")
24
+ #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")
25
 
26
 
27
  # Cloning the sd-webui-controlnet extension
 
32
  os.chdir(f"/home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models")
33
 
34
  # Download models using aria2c
35
+ #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")
36
+ #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")
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_v11p_sd15_seg.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Seg.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_lineart.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Lineart.pth")
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_v11p_sd15_mlsd.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o MLSD.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_scribble.pth -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o Scribble.pth")
41
+ #os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite/resolve/main/bdsqlsz_controlllite_xl_mlsd_V2.safetensors -d /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o bdsqlsz_controlllite_xl_mlsd_V2.safetensors")
42
  os.chdir(f"/home/user/app/stable-diffusion-webui")
43
  # Check the extension's documentation for specific dependencies
44