Undo check for configured controlnet, which is optional.
This commit is contained in:
parent
f6049614ab
commit
baec96fac1
1 changed files with 1 additions and 2 deletions
|
@ -807,8 +807,7 @@ class Session(object):
|
|||
return idx
|
||||
if idx < 4 and self.getctrlnetprefixes()[idx] is not None:
|
||||
return idx
|
||||
else:
|
||||
return -1
|
||||
return -1
|
||||
|
||||
|
||||
def getctrlnetobj(self, netidx):
|
||||
|
|
Loading…
Reference in a new issue