Skip to content

Commit 1625854

Browse files
psychedelicioushipsterusername
authored andcommitted
fix(nodes): fix ip-adapter field positioning on workflow editor
1 parent f87b042 commit 1625854

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

invokeai/app/invocations/ip_adapter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ class IPAdapterInvocation(BaseInvocation):
5858
# Inputs
5959
image: ImageField = InputField(description="The IP-Adapter image prompt.")
6060
ip_adapter_model: IPAdapterModelField = InputField(
61-
description="The IP-Adapter model.",
62-
title="IP-Adapter Model",
63-
input=Input.Direct,
61+
description="The IP-Adapter model.", title="IP-Adapter Model", input=Input.Direct, ui_order=-1
6462
)
6563

6664
# weight: float = InputField(default=1.0, description="The weight of the IP-Adapter.", ui_type=UIType.Float)

invokeai/frontend/web/src/features/nodes/types/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export const TYPES_WITH_INPUT_COMPONENTS = [
116116
'ColorField',
117117
'SDXLMainModelField',
118118
'Scheduler',
119+
'IPAdapterModelField',
119120
];
120121

121122
export const isPolymorphicItemType = (

0 commit comments

Comments
 (0)