eideehi / sd-webui-better-styles

Stable Diffusion web UI extension that provides a better UI for managing styles.
MIT License
20 stars 5 forks source link

[BUG]: {prompt} fails #13

Open Wyldhunt opened 9 months ago

Wyldhunt commented 9 months ago

Is there an existing issue for this?

Bug Description

Per the Automatic1111 wiki, you should be able to use {prompt} as a placeholder location for your prompt. You can see this work with the default styles when you apply the styles. With this plugin, it appears to just feed the word {prompt} into your prompt, which is the incorrect behavior.

Steps to Reproduce

Add a style with the following prompt:

abstract expressionist painting {prompt}, energetic brushwork, bold colors, abstract forms, expressive, emotional

Write a prompt of whatever. For example:

a frog dancing in the moonlight

Select the style and apply it to your prompt. Using the default style selector, you get:

abstract expressionist painting a frog dancing in the moonlight, energetic brushwork, bold colors, abstract forms, expressive, emotional

Using Better Styles, you get:

a frog dancing in the moonlight, abstract expressionist painting {prompt} . energetic brushwork, bold colors, abstract forms, expressive, emotional

Screenshot (optional)

No response