Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Preserve Wildcard txt order in Jinja #529

Open
IrredeemableWeeb opened this issue Jun 17, 2023 · 1 comment
Open

[Feature Request] Preserve Wildcard txt order in Jinja #529

IrredeemableWeeb opened this issue Jun 17, 2023 · 1 comment

Comments

@IrredeemableWeeb
Copy link

IrredeemableWeeb commented Jun 17, 2023

Currently, reading from a wildcards.txt file using the syntax shown below leads to wildcards in alphabetical order.

{% for wildcard in wildcard("__wildcards__") %}

This means that a file of the form:

 morning  
 sunset  
 night

would generate "night" before "sunset".

This is unfortunate because it hinders generating images in chronological order. Therefore, stories, aging characters, and day-night cycles would be shuffled.

The one workaround I could find was creating a wildcard.txt of the form:

 (a:0) <prompt>
 (b:0) <prompt>
 (c:0) <prompt>

Unfortunately, this is enough to corrupt some simple prompts.
Please do let me know if there is any way to achieve

@akx
Copy link
Collaborator

akx commented Jun 18, 2023

This will be fixed by adieyal/dynamicprompts#91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants