Make DenoiseLatentsInvocation.prep_control_data(...) a staticmethod so that it can be called externally.

This commit is contained in:
Ryan Dick 2024-06-12 11:34:12 -04:00 committed by Kent Keirsey
parent 350a210835
commit c4e8549c73

View File

@ -386,8 +386,8 @@ class DenoiseLatentsInvocation(BaseInvocation):
requires_safety_checker=False,
)
@staticmethod
def prep_control_data(
self,
context: InvocationContext,
control_input: Optional[Union[ControlField, List[ControlField]]],
latents_shape: List[int],