Skip to content

Write prompt to metadata do not work fully #703

@ghost

Description

Hello, first thank for this helpful extension.
In settings I checked "Save template to metadata: Write prompt template into the PNG metadata"

When I write a inline template like {value1|value2] the saved metadata is the result for value1 or value2 but not the template with {}

For a more complete example of the problem, this is my inline template :

``
(masterpiece, black hair, ponytail, hair ribbon, ribbon, very long hair, purple eyes, shiny eyes, blush, closed mouth, {smile, parted lips|smile}, detailed face),
{
jester, jester cap, hat, puffy sleeves, short sleeves, pom pom clothes, bridal gauntlets, pajamas, star print, shuriken, navel, pants|
white shirt, green vest, green skirt, plaid skirt, school uniform, bowtie|
yellow shirt, pink skirt, pleated skirt|
bare shoulders, white shirt, off-shoulder shirt, cleavage, navel, shorts, gym shorts
}

And the saved metadata is

``
(masterpiece, black hair, ponytail, hair ribbon, ribbon, very long hair, purple eyes, shiny eyes, blush, closed mouth, smile),
jester, jester cap, hat, puffy sleeves, short sleeves, pom pom clothes, bridal gauntlets, pajamas, star print, shuriken, navel, pants

What is needed is to save the original prompt in metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions