From f561dfae832dfb0c6f0e6e81bfa7dd16ceac3afd Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 19 Feb 2023 11:04:11 -0600 Subject: [PATCH] fix(api): correct blending mask (fixes #188) --- api/onnx_web/chain/blend_mask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)