AbdullahAlfaraj / Auto-Photoshop-StableDiffusion-Plugin

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.
MIT License
6.82k stars 508 forks source link

ControlNet error #236

Open Lute-4 opened 1 year ago

Lute-4 commented 1 year ago

[ControlNet] warning: using deprecated '/controlnet/img2img' route [ControlNet] warning: consider using the '/sdapi/v1/img2img' route with the 'alwayson_scripts' json property instead Error running process: C:\Users\Utilisateur\Downloads\AUTOMATIC1111_test\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "C:\Users\Utilisateur\Downloads\AUTOMATIC1111_test\stable-diffusion-webui\modules\scripts.py", line 417, in process script.process(p, *script_args) File "C:\Users\Utilisateur\Downloads\AUTOMATIC1111_test\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 791, in process unit = self.parse_remote_call(p, unit, idx) File "C:\Users\Utilisateur\Downloads\AUTOMATIC1111_test\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 634, in parse_remote_call unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True) AttributeError: 'str' object has no attribute 'enabled'

Any idea?

woofodus commented 1 year ago

I'm having the exact same issue, thought it was because I was using older ControlNet, but I just updated everything and all the models and it's giving same error.

zombieyang commented 1 year ago

See #242 and maybe it is a solution.

woofodus commented 1 year ago

Disabling multi-ControlNet fixes the issue. I tried whatever this was https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/pull/242 but it didn't do anything.