Update nodes.py

Remove unnecessary parameter to decode method
This commit is contained in:
traugdor 2024-11-01 16:19:30 -05:00 committed by GitHub
parent 519e7760e7
commit 9cfd46b2d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class VAEDecode:
CATEGORY = "latent"
DESCRIPTION = "Decodes latent images back into pixel space images."
def decode(self, vae, samples, tile_size=512):
def decode(self, vae, samples):
images = vae.decode(samples["samples"])
if len(images.shape) == 5: #Combine batches
images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1])