Trojaner / text-generation-webui-stable_diffusion

Integrate image generation capabilities to text-generation-webui using Stable Diffusion.
Other
51 stars 5 forks source link

Invalid Syntax: Failed to load the extension on latest fresh install of Oobabooga and Extension #10

Closed juicyroots closed 6 months ago

juicyroots commented 6 months ago

The extension won't load, even on a fresh install of everything.

13:38:16-145297 ERROR Failed to load the extension "text-generation-webui-stable_diffusion". Traceback (most recent call last): File "D:\LLMs\oob\modules\extensions.py", line 37, in load_extensions exec(f"import extensions.{name}.script") File "", line 1 import extensions.text-generation-webui-stable_diffusion.script

SyntaxError: invalid syntax

juicyroots commented 6 months ago

Am I missing something?

Trojaner commented 6 months ago

Rename the extension directory to "stable_diffusion" and adjust the enabled extensions in settings.json/yaml accordingly. Don't forget to pip install the dependencies, see the README for instructions for that.

juicyroots commented 6 months ago

Duh. I was being dumb. Apologies.