v0xie / sd-webui-incantations

Enhance Stable Diffusion image quality, prompt following, and more through multiple implementations of novel algorithms for Automatic1111 WebUI.
GNU General Public License v3.0
120 stars 7 forks source link

The extension throws an error on startup. #33

Open Nrgte opened 2 months ago

Nrgte commented 2 months ago

Hello

I just installed the extension and it throws an error on startup:


*** Error loading script: incantation_base.py Traceback (most recent call last): File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\incantation_base.py", line 11, in from scripts.incant import IncantExtensionScript File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\incant.py", line 14, in from modules.sd_samplers_cfg_denoiser import pad_cond ModuleNotFoundError: No module named 'modules.sd_samplers_cfg_denoiser'

*** Error loading script: pag.py Traceback (most recent call last): File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "F:\Projects\Stable Diffusion\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\Projects\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-incantations\scripts\pag.py", line 8, in from modules import script_callbacks, patches ImportError: cannot import name 'patches' from 'modules' (unknown location)

Sounds like a dependency is missing. Anyone know how to fix this?

Thanks!