Upgrading by WEBUI automatelly, but load controlnet error as following
Error loading script: global_state.py
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "D:\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\global_state.py", line 100, in <module>
"recolor_luminance": recolor_luminance,
NameError: name 'recolor_luminance' is not defined
Warning: ControlNet failed to load SGM - will use LDM instead.
Upgrading by WEBUI automatelly, but load controlnet error as following