You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if I use prompt with combinatorial mode {A | B}, with {C | D}
It will generate the following prompts in this order
A with C
A with D
B with C
B with D
That is, the combinations are iterated from right to left, as if using each combinatorial set as a digit's place in counting numbers.
Since SD does not ignore prompt term order, this leads to inflexibility. It would be nice if there was a way to reverse the current behavior, to generate:
A with C
B with C
A with D
B with D
Even more flexible but harder to implement would be a way to arbitrarily rank the iterables to specify the order. For example, maybe a way to specify
{A | B }[2], with {C | D}[1] and {E | F}[3]
to get:
A with C and E
A with D and E
B with C and E
B with D and E
A with C and F
A with D and F
B with C and F
B with D and F
The first suggestion would just require a toggle that flipped the order of iteration. The second suggestion will probably require a lot more work, as it would have to also be robust to skipped ranking numbers (e.g. [1], [4], [6] being used as people edit prompts). Maybe a simple sort function, I don't know. Compatibility with other extensions might also be a problem with additional tag language being used...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now, if I use prompt with combinatorial mode
{A | B}, with {C | D}
It will generate the following prompts in this order
That is, the combinations are iterated from right to left, as if using each combinatorial set as a digit's place in counting numbers.
Since SD does not ignore prompt term order, this leads to inflexibility. It would be nice if there was a way to reverse the current behavior, to generate:
Even more flexible but harder to implement would be a way to arbitrarily rank the iterables to specify the order. For example, maybe a way to specify
{A | B }[2], with {C | D}[1] and {E | F}[3]
to get:
The first suggestion would just require a toggle that flipped the order of iteration. The second suggestion will probably require a lot more work, as it would have to also be robust to skipped ranking numbers (e.g. [1], [4], [6] being used as people edit prompts). Maybe a simple sort function, I don't know. Compatibility with other extensions might also be a problem with additional tag language being used...
Beta Was this translation helpful? Give feedback.
All reactions