From f520e376926f7d812d67e15715f38f71f03030ce Mon Sep 17 00:00:00 2001 From: Bingsu Date: Fri, 7 Jul 2023 18:48:40 +0900 Subject: [PATCH] fix: cached_c, uc instance --- scripts/!adetailer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/!adetailer.py b/scripts/!adetailer.py index d6b4d10..ed5de1a 100644 --- a/scripts/!adetailer.py +++ b/scripts/!adetailer.py @@ -402,7 +402,8 @@ class AfterDetailerScript(scripts.Script): do_not_save_grid=True, ) - i2i.close() + i2i.cached_c = [None, None] + i2i.cached_uc = [None, None] i2i.scripts, i2i.script_args = self.script_filter(p, args) i2i._disable_adetailer = True