problem because of TypeError: 'ABCMeta' object is not subscriptable #140
Replies: 4 comments
-
might be a python version issue, could you please check what version you are using? |
Beta Was this translation helpful? Give feedback.
-
I've made a change which I hope fixes it, could you please upgrade to 1.5.3 |
Beta Was this translation helpful? Give feedback.
-
!git clone https://github.com/camenduru/stable-diffusion-webui !wget https://huggingface.co/ckpt/pony-diffusion-v2/resolve/main/pony-diffusion-v2.ckpt -O /content/stable-diffusion-webui/models/Stable-diffusion/pony-diffusion-v2.ckpt !python launch.py --share --xformers So, I only use here when I'm just doing free time for colab, that's also with .ipynb or so to say jupyter notebook. |
Beta Was this translation helpful? Give feedback.
-
thank you! |
Beta Was this translation helpful? Give feedback.
-
I have a problem. I also like to use it with google colab notebook but it shows the error for me: Error loading script: dynamic_prompting.py
Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/scripts.py", line 195, in load_scripts
module = script_loading.load_module(scriptfile.path)
File "/content/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module
exec(compiled, module.dict)
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/scripts/dynamic_prompting.py", line 16, in
from prompts.generators import (
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/generators/init.py", line 9, in
from .combinatorial import CombinatorialPromptGenerator
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/generators/combinatorial.py", line 8, in
from prompts.parser.combinatorial_generator import CombinatorialGenerator
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/parser/combinatorial_generator.py", line 5, in
from .parse import (
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/parser/parse.py", line 8, in
from .commands import SequenceCommand, LiteralCommand, VariantCommand, WildcardCommand
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/parser/commands.py", line 6, in
class Command:
File "/content/stable-diffusion-webui/extensions/sd-dynamic-prompts/prompts/parser/commands.py", line 13, in Command
def prompts(self) -> Iterable[str]:
TypeError: 'ABCMeta' object is not subscriptable
the question is, can you fix it because of abcmeta? thank you
Beta Was this translation helpful? Give feedback.
All reactions