Skip to content

Commit

Permalink
lint(api): apply style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 7, 2023
1 parent 86126ff commit b1a1a2b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/onnx_web/chain/upscale_outpaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def outpaint(image: Image.Image, dims: Tuple[int, int, int]):
logger.debug("outpainting with 0 margin, using grid tiling")
output = process_tile_grid(source_image, SizeChart.auto, 1, [outpaint])
elif border.left == border.right and border.top == border.bottom:
logger.debug("outpainting with an even border, using spiral tiling with %s overlap", overlap)
logger.debug(
"outpainting with an even border, using spiral tiling with %s overlap",
overlap,
)
output = process_tile_spiral(
source_image, SizeChart.auto, 1, [outpaint], overlap=overlap
)
Expand Down

0 comments on commit b1a1a2b

Please sign in to comment.