Haoming02 / sd-webui-old-photo-restoration

An Extension for Automatic1111 Webui for Bringing Old Photo Back to Life
MIT License
108 stars 6 forks source link

AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion' #16

Closed Skid888 closed 6 months ago

Skid888 commented 6 months ago

I've installed BOP (and overcome the dlib install issue) but still get the following error:

calling C:\Users\Söhnke\stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\scripts\bop.py/ui: AttributeError Traceback (most recent call last): File "C:\Users\Söhnke\stable-diffusion-webui\modules\scripts_postprocessing.py", line 53, in wrap_call res = func(*args, **kwargs) File "C:\Users\Söhnke\stable-diffusion-webui\extensions\sd-webui-old-photo-restoration\scripts\bop.py", line 12, in ui with ui_components.InputAccordion( AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'

Traceback (most recent call last): File "C:\Users\Söhnke\stable-diffusion-webui\launch.py", line 353, in start() File "C:\Users\Söhnke\stable-diffusion-webui\launch.py", line 348, in start webui.webui() File "C:\Users\Söhnke\stable-diffusion-webui\webui.py", line 302, in webui shared.demo = modules.ui.create_ui() File "C:\Users\Söhnke\stable-diffusion-webui\modules\ui.py", line 1051, in create_ui ui_postprocessing.create_ui() File "C:\Users\Söhnke\stable-diffusion-webui\modules\ui_postprocessing.py", line 25, in create_ui script_inputs = scripts.scripts_postproc.setup_ui() File "C:\Users\Söhnke\stable-diffusion-webui\modules\scripts_postprocessing.py", line 113, in setup_ui self.create_script_ui(script, inputs) File "C:\Users\Söhnke\stable-diffusion-webui\modules\scripts_postprocessing.py", line 84, in create_script_ui for control in script.controls.values(): AttributeError: 'NoneType' object has no attribute 'values'

Any idea where the issue comes from?

Haoming02 commented 6 months ago

'modules.ui_components' has no attribute 'InputAccordion'

What version of Webui are you running?

Skid888 commented 6 months ago

Webui is 1.6.0

Skid888 commented 6 months ago

I just updated to 1.8.0 and now it is working!