diff --git a/invokeai/app/invocations/compel.py b/invokeai/app/invocations/compel.py index b773f03a8e..563d8d97fd 100644 --- a/invokeai/app/invocations/compel.py +++ b/invokeai/app/invocations/compel.py @@ -279,8 +279,8 @@ class SDXLCompelPromptInvocation(BaseInvocation, SDXLPromptInvocationBase): crop_left: int = InputField(default=0, description="") target_width: int = InputField(default=1024, description="") target_height: int = InputField(default=1024, description="") - clip: ClipField = InputField(description=FieldDescriptions.clip, input=Input.Connection) - clip2: ClipField = InputField(description=FieldDescriptions.clip, input=Input.Connection) + clip: ClipField = InputField(description=FieldDescriptions.clip, input=Input.Connection, title="CLIP 1") + clip2: ClipField = InputField(description=FieldDescriptions.clip, input=Input.Connection, title="CLIP 2") @torch.no_grad() def invoke(self, context: InvocationContext) -> ConditioningOutput: diff --git a/invokeai/app/invocations/model.py b/invokeai/app/invocations/model.py index 548ff3cb4b..5a1073df0a 100644 --- a/invokeai/app/invocations/model.py +++ b/invokeai/app/invocations/model.py @@ -250,13 +250,13 @@ class SDXLLoraLoaderInvocation(BaseInvocation): lora: LoRAModelField = InputField(description=FieldDescriptions.lora_model, input=Input.Direct, title="LoRA") weight: float = InputField(default=0.75, description=FieldDescriptions.lora_weight) - unet: Optional[UNetField] = Field( - default=None, description=FieldDescriptions.unet, input=Input.Connection, title="UNET" + unet: Optional[UNetField] = InputField( + default=None, description=FieldDescriptions.unet, input=Input.Connection, title="UNet" ) - clip: Optional[ClipField] = Field( + clip: Optional[ClipField] = InputField( default=None, description=FieldDescriptions.clip, input=Input.Connection, title="CLIP 1" ) - clip2: Optional[ClipField] = Field( + clip2: Optional[ClipField] = InputField( default=None, description=FieldDescriptions.clip, input=Input.Connection, title="CLIP 2" )