Skip to content

Commit 62aebab

Browse files
Copilotlstein
andcommitted
fix: replace default_factory=list with default=[] to suppress startup warning
Co-authored-by: lstein <111189+lstein@users.noreply.github.com> Agent-Logs-Url: https://github.com/lstein/InvokeAI/sessions/e3dc6734-6d99-4978-951a-7bd80f9432f9
1 parent 666fdfa commit 62aebab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

invokeai/app/invocations/qwen_image_edit_text_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class QwenImageEditTextEncoderInvocation(BaseInvocation):
3333

3434
prompt: str = InputField(description="Text prompt describing the desired edit.", ui_component=UIComponent.Textarea)
3535
reference_images: list[ImageField] = InputField(
36-
default_factory=list,
36+
default=[],
3737
description="Reference images to guide the edit. The model can use multiple reference images.",
3838
)
3939
qwen_vl_encoder: QwenVLEncoderField = InputField(

0 commit comments

Comments
 (0)