sd-webui-depth-lib icon indicating copy to clipboard operation
sd-webui-depth-lib copied to clipboard

Depth Library tab doesn't show

Open Tiger102102 opened this issue 1 year ago • 3 comments

options I tried checked for update reistalled it from the link restarted Webui deleted the folder from extensions an reinstalled it disabled all other extensions

nothing seems to work

Python 3.10

Tiger102102 avatar Apr 07 '24 23:04 Tiger102102

Did you found any error log in the output? I have similar problem and I found that a package is not installed.

*** Error loading script: main.py
    Traceback (most recent call last):
      File "/Users/benlau/Development/stable-diffusion-webui/modules/scripts.py", line 527, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "/Users/benlau/Development/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 "/Users/benlau/Development/stable-diffusion-webui/extensions/sd-webui-depth-lib/scripts/main.py", line 10, in <module>
        from basicsr.utils.download_util import load_file_from_url
    ModuleNotFoundError: No module named 'basicsr'

benlau avatar Apr 22 '24 13:04 benlau

I think I found the reason why the tab doesn't show. script "main.py" has this line : from basicsr.utils.download_util import load_file_from_url,but never used. delete it and restart ui can resolve it 截屏2024-04-25 17 24 44

jaylenchen avatar Apr 25 '24 09:04 jaylenchen

Thanks Jaylenchan, that was the solution I needed to get it working after trying all the other steps Tiger had tried as well

brikston311 avatar Jul 15 '24 01:07 brikston311