From 2b2ec67cd6b7109da05ee3fcc4713d26d2e416ad Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 21 Jan 2025 06:54:07 +1100 Subject: [PATCH] fix(nodes): allow connection input on string batch nodes --- invokeai/app/invocations/batch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/app/invocations/batch.py b/invokeai/app/invocations/batch.py index 114bc55893..d73817b1a9 100644 --- a/invokeai/app/invocations/batch.py +++ b/invokeai/app/invocations/batch.py @@ -83,7 +83,9 @@ class StringBatchInvocation(BaseBatchInvocation): """Create a batched generation, where the workflow is executed once for each string in the batch.""" strings: list[str] = InputField( - default=[], min_length=1, description="The strings to batch over", input=Input.Direct + default=[], + min_length=1, + description="The strings to batch over", ) def invoke(self, context: InvocationContext) -> StringOutput: