Fix inpaint node

Seems like this is the only change needed for the existing inpaint node to work.
This commit is contained in:
Andy Luhrs 2023-04-27 11:03:07 -07:00 committed by GitHub
parent 31c7fa833e
commit 0f95f7cea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,8 +247,8 @@ class InpaintInvocation(ImageToImageInvocation):
outputs = Inpaint(model).generate(
prompt=self.prompt,
init_img=image,
init_mask=mask,
init_image=image,
mask_image=mask,
step_callback=partial(self.dispatch_progress, context, source_node_id),
**self.dict(
exclude={"prompt", "image", "mask"}