uwidev / sd_extension-prompt_formatter

Prompt formatter extension for automatic1111's stable diffusion web-ui
GNU Affero General Public License v3.0
95 stars 9 forks source link

re: underscore/space toggle #9

Closed fuzzyfaraway closed 1 year ago

fuzzyfaraway commented 1 year ago

The current toggle dealing with underscores needs a tweak to disallow changing underscores to spaces when between angle brackets in a prompt. For example, _\<lora:adddetail:1> gets changed to \<lora:add detail:1> causing it to not be found when generating. The same would apply to other angle-bracketed items such as \<hypernet:desolation\:1> and \<lyco:projectUnrealEngine5v30:1.0>

uwidev commented 1 year ago

Fixed in v0.4.1