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
3bad1367e9
commit
66cf2c59bd
@ -386,8 +386,8 @@ class DenoiseLatentsInvocation(BaseInvocation):
|
|||||||
requires_safety_checker=False,
|
requires_safety_checker=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def prep_control_data(
|
def prep_control_data(
|
||||||
self,
|
|
||||||
context: InvocationContext,
|
context: InvocationContext,
|
||||||
control_input: Optional[Union[ControlField, List[ControlField]]],
|
control_input: Optional[Union[ControlField, List[ControlField]]],
|
||||||
latents_shape: List[int],
|
latents_shape: List[int],
|
||||||
|
Loading…
Reference in New Issue
Block a user