stlaurentjr commited on
Commit
730ac5d
·
1 Parent(s): 367a6ca

ip-adapter+qr_monster+mlsd

Browse files
Files changed (1) hide show
  1. scripts/mainrunpodA1111.py +14 -0
scripts/mainrunpodA1111.py CHANGED
@@ -564,6 +564,20 @@ def CNet(ControlNet_Model, ControlNet_XL_Model):
564
  "ln -s /workspace/auto-controlnet-models/* /workspace/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/models",
565
  shell=True,
566
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567
 
568
  for filename in os.listdir(mdldir):
569
  if "_sd14v1" in filename:
 
564
  "ln -s /workspace/auto-controlnet-models/* /workspace/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/models",
565
  shell=True,
566
  )
567
+
568
+ # Скачивание ip-adapter + qr_monster + mlsd
569
+ call(
570
+ "wget https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/ip-adapter_sd15.pth",
571
+ shell=True,
572
+ )
573
+ call(
574
+ "wget https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster/resolve/main/control_v1p_sd15_qrcode_monster.safetensors",
575
+ shell=True,
576
+ )
577
+ call(
578
+ "wget https://huggingface.co/lllyasviel/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd.pth",
579
+ shell=True,
580
+ )
581
 
582
  for filename in os.listdir(mdldir):
583
  if "_sd14v1" in filename: