fix: copy scripts, scripts args

This commit is contained in:
Bingsu
2023-05-03 12:25:15 +09:00
parent 0391bcf317
commit b3b9856ee1
2 changed files with 9 additions and 2 deletions

View File

@@ -41,7 +41,14 @@ On the ControlNet tab, select a ControlNet inpaint model and set the model weigh
## Changelog ## Changelog
### 2023-05-03
- v23.5.3.post0
- remove `__future__` imports
- change to copy scripts and scripts args
### 2023-05-02 ### 2023-05-02
- v23.5.3
- Remove `None` from model list and add `Enable ADetailer` checkbox. - Remove `None` from model list and add `Enable ADetailer` checkbox.
- install.py `skip_install` fix. - install.py `skip_install` fix.

View File

@@ -452,8 +452,8 @@ class AfterDetailerScript(scripts.Script):
do_not_save_grid=True, do_not_save_grid=True,
) )
i2i.scripts = p.scripts i2i.scripts = copy(p.scripts)
i2i.script_args = p.script_args i2i.script_args = copy(p.script_args)
i2i._disable_adetailer = True i2i._disable_adetailer = True
self.update_controlnet_args(i2i, args) self.update_controlnet_args(i2i, args)