From b3b9856ee14ffbaff1a18b261f985f4e4894fc23 Mon Sep 17 00:00:00 2001 From: Bingsu Date: Wed, 3 May 2023 12:25:15 +0900 Subject: [PATCH] fix: copy scripts, scripts args --- README.md | 7 +++++++ scripts/!adetailer.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4249faa..6dcf52e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,14 @@ On the ControlNet tab, select a ControlNet inpaint model and set the model weigh ## Changelog +### 2023-05-03 + +- v23.5.3.post0 +- remove `__future__` imports +- change to copy scripts and scripts args + ### 2023-05-02 +- v23.5.3 - Remove `None` from model list and add `Enable ADetailer` checkbox. - install.py `skip_install` fix. diff --git a/scripts/!adetailer.py b/scripts/!adetailer.py index 68b4baf..8ccfecc 100644 --- a/scripts/!adetailer.py +++ b/scripts/!adetailer.py @@ -452,8 +452,8 @@ class AfterDetailerScript(scripts.Script): do_not_save_grid=True, ) - i2i.scripts = p.scripts - i2i.script_args = p.script_args + i2i.scripts = copy(p.scripts) + i2i.script_args = copy(p.script_args) i2i._disable_adetailer = True self.update_controlnet_args(i2i, args)