Throws IndentationError with current version
DanPli opened this issue · 0 comments
Hi there, just pulled the latest version from the master branch and unprompted fails to load now with this error showing in the console:
Error loading script: unprompted.py
Traceback (most recent call last):
File "C:\SD\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\SD\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 879, in exec_module
File "", line 1017, in get_code
File "", line 947, in source_to_code
File "", line 241, in _call_with_frames_removed
File "C:\SD\stable-diffusion-webui\extensions_unprompted\scripts\unprompted.py", line 246
obj = gr.Checkbox(label=this_label,value=bool(int(content)),info=_info)
^^^
IndentationError: expected an indented block after 'elif' statement on line 244
Thank you