adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
1.96k stars 253 forks source link

Wildcard autocompletion in the prompt box cutoff from colon #706

Closed Yinzo closed 5 months ago

Yinzo commented 5 months ago

Describe the bug

After dynamic prompts is installed, we can get wildcard autocompletion in the prompt box. It works most of time except there are colons ":" in the prompts, it will just cuts off the prompt, only offer the text after the first colon.

To Reproduce

using this test file:

$cat test.txt
1girl, trailblazer \(honkai: star rail\), honkai star rail

Expected behaviour

Autocomplete offer the whole prompt: 1girl, trailblazer \(honkai: star rail\), honkai star rail

Captures

Here is the autocomplete shows for the test.txt before apply 1

Here is the autocomplete result after apply 2

akx commented 5 months ago

This extension does not provide autocompletion.

Yinzo commented 5 months ago

Oh it's "SD WebUI Tag Autocomplete" provided auto-complete for wildcard