Fix inpaint node (#3284)

Seems like this is the only change needed for the existing inpaint code
to work as a node. Kyle said on Discord that inpaint shouldn't be a
node, so feel free to just reject this if this code is going to be gone
soon.
This commit is contained in:
blessedcoolant 2023-05-05 14:41:13 +12:00 committed by GitHub
commit c83a112669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,8 +250,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"}