Skip to content

Commit

Permalink
apply lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 7, 2023
1 parent b92853d commit 7ec2597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/onnx_web/diffusers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ def get_tile_latents(
px = mx - tile_latents.shape[3]
py = my - tile_latents.shape[2]

tile_latents = np.pad(tile_latents, ((0, 0), (0, 0), (0, py), (0, px)), mode="reflect")
tile_latents = np.pad(
tile_latents, ((0, 0), (0, 0), (0, py), (0, px)), mode="reflect"
)

return tile_latents

Expand Down

0 comments on commit 7ec2597

Please sign in to comment.