mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Added an additional "raw_processed_image" output port to controlnets, mainly so could route ImageField to a ShowImage node
This commit is contained in:
parent
21251ce12c
commit
754017b59e
@ -47,7 +47,7 @@ class ControlOutput(BaseInvocationOutput):
|
||||
# fmt: off
|
||||
type: Literal["control_output"] = "control_output"
|
||||
control: Optional[ControlField] = Field(default=None, description="The control info dict")
|
||||
# image: ImageField = Field(default=None, description="outputs just them image info (which is also included in control output)")
|
||||
raw_processed_image: ImageField = Field(default=None, description="outputs just them image info (which is also included in control output)")
|
||||
# fmt: on
|
||||
|
||||
|
||||
@ -101,7 +101,8 @@ class PreprocessedControlInvocation(BaseInvocation, PILInvocationConfig):
|
||||
image=image_field,
|
||||
control_model=self.control_model,
|
||||
control_weight=self.control_weight,
|
||||
)
|
||||
),
|
||||
raw_processed_image=image_field,
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user