Skip to content

IndexError when ControlNet not enabled #55

@tamnnn

Description

@tamnnn
*** Error running before_process: /Users/tamnguyen/github/stable-diffusion-webui/extensions/sd-webui-bmab/scripts/sd_webui_bmab.py
    Traceback (most recent call last):
      File "/Users/tamnguyen/github/stable-diffusion-webui/modules/scripts.py", line 824, in before_process
        script.before_process(p, *script_args)
      File "/Users/tamnguyen/github/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/bmab.py", line 61, in before_process
        controlnet.update_controlnet_args(p)
      File "/Users/tamnguyen/github/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/controlnet.py", line 133, in update_controlnet_args
        controlnet_args = (cn_arg_index[0], cn_arg_index[-1])
    IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions