sd-dynamic-prompts
sd-dynamic-prompts copied to clipboard
Dynamic Prompts Isn't working
No idea why, but I'm getting this Error when using Dynamic Prompts after a fresh install.
*** Error running process: D:\AI\Stable Diffusion AI\stable-diffusion-webui\extensions\sd-dynamic-prompts\scripts\dynamic_prompting.py
Traceback (most recent call last):
File "D:\AI\Stable Diffusion AI\stable-diffusion-webui\modules\scripts.py", line 619, in process
script.process(p, *script_args)
File "D:\AI\Stable Diffusion AI\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 "D:\AI\Stable Diffusion AI\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 "D:\AI\Stable Diffusion AI\stable-diffusion-webui\venv\lib\site-packages\dynamicprompts\generators\randomprompt.py", line 71, in generate
prompts.append(next(iter(gen)))
StopIteration
---
same problem here
What prompt are you using? What are your settings, etc.?
I got this kind of error message while using ControlNet at the same time.
2023-11-12 20:08:05,129 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_canny_fp16 [b18e0966]
2023-11-12 20:08:05,134 - ControlNet - INFO - Loading preprocessor: invert
2023-11-12 20:08:05,135 - ControlNet - INFO - preprocessor resolution = 512
2023-11-12 20:08:05,364 - ControlNet - INFO - ControlNet Hooked - Time = 0.23506879806518555
*** Error running process: /Users/silver/Playgrounds/AIGC/sd-webui/extensions/sd-dynamic_prompts/scripts/dynamic_prompting.py
Traceback (most recent call last):
File "/Users/silver/Playgrounds/AIGC/sd-webui/modules/scripts.py", line 619, in process
script.process(p, *script_args)
File "/Users/silver/Playgrounds/AIGC/sd-webui/extensions/sd-dynamic_prompts/sd_dynamic_prompts/dynamic_prompting.py", line 485, in process
all_prompts, all_negative_prompts = generate_prompts(
File "/Users/silver/Playgrounds/AIGC/sd-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 "/Users/silver/Playgrounds/AIGC/sd-webui/venv/lib/python3.10/site-packages/dynamicprompts/generators/randomprompt.py", line 71, in generate
prompts.append(str(next(iter(gen))))
StopIteration
I get the same error as above when prompt is empty. Typing even just one letter in the prompt and the error goes away. Negative prompt, or any other settings/model don't seem to matter.
stable-diffusion-webui dev v1.6.0-400-gf0f100e6 sd-dynamic-prompts aedb3e4b
I get the same error as above when prompt is empty. Typing even just one letter in the prompt and the error goes away. Negative prompt, or any other settings/model don't seem to matter.
stable-diffusion-webui dev v1.6.0-400-gf0f100e6 sd-dynamic-prompts aedb3e4b
For real? It freaks out because of nothing in text boxes? Cause for me it freaked out from the built-in script that comes with by default called img2imgalt when I had not filled in prompt.
Ditto when I have empty prompts...