We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c58bc6 commit 23c1a6bCopy full SHA for 23c1a6b
invokeai/app/invocations/latent.py
@@ -519,9 +519,9 @@ class ResizeLatentsInvocation(BaseInvocation):
519
# Inputs
520
latents: Optional[LatentsField] = Field(
521
description="The latents to resize")
522
- width: int = Field(
+ width: Union[int, None] = Field(default=512,
523
ge=64, multiple_of=8, description="The width to resize to (px)")
524
- height: int = Field(
+ height: Union[int, None] = Field(default=512,
525
ge=64, multiple_of=8, description="The height to resize to (px)")
526
mode: LATENTS_INTERPOLATION_MODE = Field(
527
default="bilinear", description="The interpolation mode")
0 commit comments