fix: height and weight not working on sd3 node

This commit is contained in:
blessedcoolant 2024-06-17 06:34:01 +05:30
parent 423057a2e8
commit be14fd59c9

View File

@ -203,6 +203,8 @@ class StableDiffusion3Invocation(BaseInvocation):
num_inference_steps=self.steps, num_inference_steps=self.steps,
guidance_scale=self.guidance_scale, guidance_scale=self.guidance_scale,
output_type="latent", output_type="latent",
width=self.width,
height=self.height,
) )
latents = cast(torch.Tensor, results.images[0]) latents = cast(torch.Tensor, results.images[0])