TheLastBen
commited on
Commit
·
7664958
1
Parent(s):
78328c4
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -183,14 +183,14 @@ def CN(ControlNet_Model, ControlNet_v2_Model):
|
|
183 |
clear_output()
|
184 |
|
185 |
|
186 |
-
elif ControlNet_Model == "
|
187 |
mdllnk=list(filter(lambda x: 't2i' in x, mdllnk))
|
188 |
for lnk in mdllnk:
|
189 |
download(lnk, mdldir)
|
190 |
clear_output()
|
191 |
|
192 |
|
193 |
-
elif ControlNet_Model.isdigit() and int(ControlNet_Model)-1<
|
194 |
download(mdllnk[int(ControlNet_Model)-1], mdldir)
|
195 |
clear_output()
|
196 |
|
|
|
183 |
clear_output()
|
184 |
|
185 |
|
186 |
+
elif ControlNet_Model == "15":
|
187 |
mdllnk=list(filter(lambda x: 't2i' in x, mdllnk))
|
188 |
for lnk in mdllnk:
|
189 |
download(lnk, mdldir)
|
190 |
clear_output()
|
191 |
|
192 |
|
193 |
+
elif ControlNet_Model.isdigit() and int(ControlNet_Model)-1<14:
|
194 |
download(mdllnk[int(ControlNet_Model)-1], mdldir)
|
195 |
clear_output()
|
196 |
|