mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Make DenoiseLatentsInvocation.prep_control_data(...) a staticmethod so that it can be called externally.
This commit is contained in:
parent
350a210835
commit
c4e8549c73
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user