fix(nodes): fix ip-adapter field positioning on workflow editor

This commit is contained in:
psychedelicious 2023-09-21 11:43:05 +10:00 committed by Kent Keirsey
parent f87b042162
commit 1625854eaf
2 changed files with 2 additions and 3 deletions

View File

@ -58,9 +58,7 @@ class IPAdapterInvocation(BaseInvocation):
# Inputs
image: ImageField = InputField(description="The IP-Adapter image prompt.")
ip_adapter_model: IPAdapterModelField = InputField(
description="The IP-Adapter model.",
title="IP-Adapter Model",
input=Input.Direct,
description="The IP-Adapter model.", title="IP-Adapter Model", input=Input.Direct, ui_order=-1
)
# weight: float = InputField(default=1.0, description="The weight of the IP-Adapter.", ui_type=UIType.Float)

View File

@ -116,6 +116,7 @@ export const TYPES_WITH_INPUT_COMPONENTS = [
'ColorField',
'SDXLMainModelField',
'Scheduler',
'IPAdapterModelField',
];
export const isPolymorphicItemType = (