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

KeyError: 'controlnet_models' #37

Closed
GAC2099 opened this issue Apr 29, 2023 · 1 comment · Fixed by #35
Closed

KeyError: 'controlnet_models' #37

GAC2099 opened this issue Apr 29, 2023 · 1 comment · Fixed by #35

Comments

@GAC2099
Copy link

GAC2099 commented Apr 29, 2023

微信图片_20230429115608
微信截图_20230429115807
The model was downloaded and placed in the corresponding folder, but an error occurred. I hope to receive guidance
Error loading script: SdPaint.py
Traceback (most recent call last):
File "E:\JCZY\004sd-webui-aki-v4\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\JCZY\004sd-webui-aki-v4\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\JCZY\004sd-webui-aki-v4\extensions\SdPaint\scripts\SdPaint.py", line 174, in
if not config['controlnet_models']:
KeyError: 'controlnet_models'

@Danamir Danamir linked a pull request Apr 29, 2023 that will close this issue
@Danamir
Copy link
Collaborator

Danamir commented Apr 29, 2023

This issue will be fixed in the next batch of development. In the meantime this should be fixed by deleting the local config.json and relaunching the application.

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

Successfully merging a pull request may close this issue.

2 participants