From 4c25580295980b08e582de8a9df0c93bdc8302c6 Mon Sep 17 00:00:00 2001 From: yolain Date: Wed, 27 Mar 2024 23:55:20 +0800 Subject: [PATCH] fix:inpaint patch can not use additional differential diffusion in easy kSamplerInpainting #104 --- py/easyNodes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py/easyNodes.py b/py/easyNodes.py index c0453ed..b938db8 100644 --- a/py/easyNodes.py +++ b/py/easyNodes.py @@ -3128,10 +3128,10 @@ class samplerSimpleInpainting: latent = {"samples": t, "noise_mask": (mask_erosion[:, :, :x, :y].round())} - # when patch was linked - if patch is not None: - worker = InpaintWorker(node_name="easy kSamplerInpainting") - model, = worker.patch(model, latent, patch) + # when patch was linked + if patch is not None: + worker = InpaintWorker(node_name="easy kSamplerInpainting") + model, = worker.patch(model, latent, patch) new_pipe = { **pipe,