mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes outpainting with resized inpaint size
This commit is contained in:
parent
0608d259dd
commit
9f02595ef2
@ -157,10 +157,14 @@ class Inpaint(Img2Img):
|
|||||||
strength = strength,
|
strength = strength,
|
||||||
mask_blur_radius = 0,
|
mask_blur_radius = 0,
|
||||||
seam_size = 0,
|
seam_size = 0,
|
||||||
step_callback = step_callback
|
step_callback = step_callback,
|
||||||
|
inpaint_width = im.width,
|
||||||
|
inpaint_height = im.height
|
||||||
)
|
)
|
||||||
|
|
||||||
result = make_image(noise)
|
seam_noise = self.get_noise(im.width, im.height)
|
||||||
|
|
||||||
|
result = make_image(seam_noise)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user