Spaces:
Running
Running
stlaurentjr
commited on
Commit
•
bdcfb14
1
Parent(s):
a3aec4a
Update scripts/mainrunpodA1111.py
Browse files
scripts/mainrunpodA1111.py
CHANGED
@@ -571,7 +571,7 @@ def CNet(ControlNet_Model, ControlNet_XL_Model):
|
|
571 |
os.rename(os.path.join(mdldir, filename), os.path.join(mdldir, renamed))
|
572 |
|
573 |
call(
|
574 |
-
"wget -q -O CN_models.txt https://
|
575 |
shell=True,
|
576 |
)
|
577 |
call(
|
@@ -592,7 +592,7 @@ def CNet(ControlNet_Model, ControlNet_XL_Model):
|
|
592 |
download(lnk, mdldir)
|
593 |
clear_output()
|
594 |
|
595 |
-
elif ControlNet_Model == "
|
596 |
mdllnk = list(filter(lambda x: "t2i" in x, mdllnk))
|
597 |
for lnk in mdllnk:
|
598 |
download(lnk, mdldir)
|
|
|
571 |
os.rename(os.path.join(mdldir, filename), os.path.join(mdldir, renamed))
|
572 |
|
573 |
call(
|
574 |
+
"wget -q -O CN_models.txt https://huggingface.co/spaces/stlaurentjr/RNPD/raw/main/config/CN_models.txt",
|
575 |
shell=True,
|
576 |
)
|
577 |
call(
|
|
|
592 |
download(lnk, mdldir)
|
593 |
clear_output()
|
594 |
|
595 |
+
elif ControlNet_Model == "17":
|
596 |
mdllnk = list(filter(lambda x: "t2i" in x, mdllnk))
|
597 |
for lnk in mdllnk:
|
598 |
download(lnk, mdldir)
|