Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred: No template found with name #15

Open
nlienard opened this issue Sep 1, 2023 · 1 comment
Open

An error occurred: No template found with name #15

nlienard opened this issue Sep 1, 2023 · 1 comment

Comments

@nlienard
Copy link

nlienard commented Sep 1, 2023

A1111 1.6

Whenever i use the style editor i got this error

An error occurred: No template found with name '['Cinematic', 'Cinematic']'.
An error occurred: No template found with name '['Cinematic', 'Cinematic']'.
*** Error running process: C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
    Traceback (most recent call last):
      File "C:\Users\nico\IA\stable-diffusion-webui\modules\scripts.py", line 619, in process
        script.process(p, *script_args)
      File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\dynamic_prompting.py", line 485, in process
        all_prompts, all_negative_prompts = generate_prompts(
      File "C:\Users\nico\IA\stable-diffusion-webui\extensions\sd-dynamic-prompts\sd_dynamic_prompts\helpers.py", line 93, in generate_prompts
        all_prompts = prompt_generator.generate(prompt, num_prompts, seeds=seeds) or [""]
      File "C:\Users\nico\IA\stable-diffusion-webui\venv\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
        prompts.append(next(iter(gen)))
    StopIteration

Reinstalling the extension didn't change anything

Any clue is welcome. thks

@nlienard
Copy link
Author

nlienard commented Sep 1, 2023

all the style are in doublon in the list:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant