Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension failed to run, Pls advice #19

Closed
zappazack opened this issue May 4, 2023 · 1 comment
Closed

Extension failed to run, Pls advice #19

zappazack opened this issue May 4, 2023 · 1 comment

Comments

@zappazack
Copy link

Receiving the following issue:

Error running postprocess_batch: C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\scripts!adetailer.py
Traceback (most recent call last):
File "C:\Users\User\Documents\stable-diffusion-webui\modules\scripts.py", line 462, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\scripts!adetailer.py", line 446, in postprocess_image
i2i = self.get_i2i_p(p, args, pp.image)
File "C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\scripts!adetailer.py", line 409, in get_i2i_p
self.update_controlnet_args(i2i, args)
File "C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\scripts!adetailer.py", line 424, in update_controlnet_args
self.controlnet_ext.update_scripts_args(
File "C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\controlnet_ext\controlnet_ext.py", line 67, in update_scripts_args
self._update_scripts_args(p, model, weight)
File "C:\Users\User\Documents\stable-diffusion-webui\extensions\adetailer\controlnet_ext\controlnet_ext.py", line 57, in _update_scripts_args
control_mode=self.external_cn.ControlMode.BALANCED,
AttributeError: module 'extensions.sd-webui-controlnet.scripts.external_code' has no attribute 'ControlMode'

Pls advice!

@Bing-su
Copy link
Owner

Bing-su commented May 4, 2023

ControlNetMode came out of Mikubill/sd-webui-controlnet a couple of weeks ago, so I can't keep up with all the older versions, sorry.

@Bing-su Bing-su closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants