Fixed an issue that Show grid in results for web in the user interface was causing.

pull/51/head
jmsether 2023-04-22 01:02:52 -06:00
parent 318206ab11
commit 67ec11e5af
1 changed files with 5 additions and 1 deletions

View File

@ -390,7 +390,11 @@ def create_zoom_single(
inpainting_padding,
)
current_image = processed.images[0]
if (current_image.size[0] != processed.images[1].size[0]):
processed.images.pop(0)
current_image = processed.images[0]
current_image.paste(prev_image, mask=prev_image)
# interpolation steps between 2 inpainted images (=sequential zoom and crop)