Allow skipping of control type for ControlNet union (#2995)
parent
258d6c1244
commit
19ec5ea3d2
|
|
@ -620,6 +620,7 @@ class UnetHook(nn.Module):
|
|||
[
|
||||
t.int_value()
|
||||
for t in param.union_control_types
|
||||
if t != ControlNetUnionControlType.UNKNOWN
|
||||
]
|
||||
if param.control_model_type == ControlModelType.ControlNetUnion
|
||||
else None
|
||||
|
|
|
|||
Loading…
Reference in New Issue