From ff8ba6b209eff2710b2684e014be6333c594857e Mon Sep 17 00:00:00 2001 From: yolain Date: Fri, 29 Nov 2024 11:42:03 +0800 Subject: [PATCH] Fix inpaint model conditioning missing noise_mask #554 --- py/easyNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/easyNodes.py b/py/easyNodes.py index 4480222..e97a08e 100644 --- a/py/easyNodes.py +++ b/py/easyNodes.py @@ -5930,7 +5930,7 @@ class samplerSimpleInpainting(samplerFull): elif additional == 'InpaintModelCond': if mask is not None: mask, = GrowMask().expand_mask(mask, grow_mask_by, False) - positive, negative, latent = InpaintModelConditioning().encode(positive, negative, images, vae, mask) + positive, negative, latent = InpaintModelConditioning().encode(positive, negative, images, vae, mask, True) elif additional == 'Fooocus Inpaint': head = list(FOOOCUS_INPAINT_HEAD.keys())[0] patch = list(FOOOCUS_INPAINT_PATCH.keys())[0]