mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-14 17:48:00 -05:00
fix(nodes): allow connection input on string batch nodes
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user