diff --git a/api/onnx_web/chain/blend_mask.py b/api/onnx_web/chain/blend_mask.py index fc24d23c..be5d1159 100644 --- a/api/onnx_web/chain/blend_mask.py +++ b/api/onnx_web/chain/blend_mask.py @@ -39,4 +39,4 @@ def blend_mask( for s in sources ] - return Image.composite(resized[0], resized[1], mult_mask) + return Image.composite(resized[1], resized[0], mult_mask)