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)