mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: remove default_factory for ImageCollectionInvocation
This commit is contained in:
parent
446dc6bea1
commit
d65553841e
@ -261,7 +261,7 @@ class ImageInvocation(BaseInvocation):
|
||||
class ImageCollectionInvocation(BaseInvocation):
|
||||
"""A collection of image primitive values"""
|
||||
|
||||
collection: list[ImageField] = InputField(default_factory=list, description="The collection of image values")
|
||||
collection: list[ImageField] = InputField(description="The collection of image values")
|
||||
|
||||
def invoke(self, context: InvocationContext) -> ImageCollectionOutput:
|
||||
return ImageCollectionOutput(collection=self.collection)
|
||||
|
Loading…
Reference in New Issue
Block a user