Update app.py
Browse files
app.py
CHANGED
@@ -46,11 +46,6 @@ else:
|
|
46 |
|
47 |
# Please duplicate this space and delete # character in front of the extension you want to use or add here more extensions with same structure os.system(f"git clone https://EXTENSION_GIT_URL /home/user/app/stable-diffusion-webui/extensions/EXTENSION_NAME")
|
48 |
os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git /home/user/app/stable-diffusion-webui/extensions")
|
49 |
-
# Run the ls command
|
50 |
-
result = subprocess.run(['ls'], stdout=subprocess.PIPE)
|
51 |
-
|
52 |
-
# Print the output
|
53 |
-
print(result.stdout.decode())
|
54 |
|
55 |
# 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")
|
56 |
os.system(f"wget https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster/blob/main/v2/control_v1p_sd15_qrcode_monster_v2.safetensors --content-disposition -O /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/control_v1p_sd15_qrcode_monster_v2.safetensors")
|
|
|
46 |
|
47 |
# Please duplicate this space and delete # character in front of the extension you want to use or add here more extensions with same structure os.system(f"git clone https://EXTENSION_GIT_URL /home/user/app/stable-diffusion-webui/extensions/EXTENSION_NAME")
|
48 |
os.system(f"git clone https://github.com/Mikubill/sd-webui-controlnet.git /home/user/app/stable-diffusion-webui/extensions")
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
# 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")
|
51 |
os.system(f"wget https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster/blob/main/v2/control_v1p_sd15_qrcode_monster_v2.safetensors --content-disposition -O /home/user/app/stable-diffusion-webui/extensions/sd-webui-controlnet/control_v1p_sd15_qrcode_monster_v2.safetensors")
|