openpose-editor
openpose-editor copied to clipboard
New Install Not working Even after editing line 77 of main.py
Describe the bug Installing the extension for the first time doenst work even after edit fix
To Reproduce Fresh install get first error of Line 77 Edit Line 77 Extension not working at all
Expected behavior Extension working on AUTOMATIC111
Environment
- OS: W10
- Mozilla 110.0.1
Additional context I did the fix of editing line 77 of main.py Using Fix:
Original (the bug one): if (hasattr(opts, 'control_net_max_models_num'): Fixed: if (hasattr(opts, 'control_net_max_models_num')):
New Error Appears:
Error loading script: main.py
Traceback (most recent call last):
File "F:\stable-diffusion-webui\modules\scripts.py", line 248, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "F:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "
I just fixed it. Please update and check
Thanks for the fix
and today... \extensions\openpose-editor\scripts\main.py", line 89 SyntaxError: invalid syntax