Skip to content

Commit

Permalink
fix(api): correct origin point when blending images (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 22, 2023
1 parent 108c502 commit 3d245a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/chain/blend_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run(
mult_mask = Image.alpha_composite(mult_mask, mask_source)
mult_mask = mult_mask.convert("L")

top, left, tile = dims
left, top, tile = dims
stage_source_tile = stage_source.crop((left, top, left + tile, top + tile))

if is_debug():
Expand Down

0 comments on commit 3d245a6

Please sign in to comment.