fix(api): only run one form of outpaint tiling
This commit is contained in:
parent
d6c1244d72
commit
811b6640a8
|
@ -115,7 +115,7 @@ def upscale_outpaint(
|
|||
if overlap == 0:
|
||||
logger.debug("outpainting with 0 margin, using grid tiling")
|
||||
output = process_tile_grid(source_image, SizeChart.auto, 1, [outpaint])
|
||||
if border.left == border.right and border.top == border.bottom:
|
||||
elif border.left == border.right and border.top == border.bottom:
|
||||
logger.debug("outpainting with an even border, using spiral tiling")
|
||||
output = process_tile_spiral(
|
||||
source_image, SizeChart.auto, 1, [outpaint], overlap=overlap
|
||||
|
|
Loading…
Reference in New Issue