mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
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:
commit
c83a112669
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user