feat(nodes): fix image to image fit param

it was ignored previously.
This commit is contained in:
psychedelicious 2023-05-01 16:54:27 +10:00
parent a6be44789b
commit b49d76ebee

View File

@ -150,6 +150,9 @@ class ImageToImageInvocation(TextToImageInvocation):
)
mask = None
if self.fit:
image = image.resize((self.width, self.height))
# Handle invalid model parameter
model = choose_model(context.services.model_manager, self.model)