volotat / SD-CN-Animation

This script allows to automate video stylization task using StableDiffusion and ControlNet.
MIT License
806 stars 61 forks source link

This makes controlnet plugin stop working #95

Open kuyin opened 1 year ago

kuyin commented 1 year ago

when this plugin turned on I can't use controlnet.

kuyin commented 1 year ago

Error running process: D:\Github\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "D:\Github\stable-diffusion-webui\modules\scripts.py", line 418, in process script.process(p, *script_args) File "D:\Github\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 984, in process self.enabled_units = self.get_enabled_units(p) File "D:\Github\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 943, in get_enabled_units unit = self.parse_remote_call(p, unit, idx) File "D:\Github\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 795, in parse_remote_call unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True) AttributeError: 'int' object has no attribute 'enabled'

When I turn it on it shows this error and controlnet doesn't work. After I turn this plugin off then everything works well.

nagolinc commented 1 year ago

I also have this bug

Possibly related to this (fixed) issue in the ControlNet repo: https://github.com/Mikubill/sd-webui-controlnet/issues/1127

My guess is that the SD-CN repo was developed using an older version of controlNet and that the format returned by external_code.get_all_units_in_processing(p) has changed recently.