Open uwidev opened 1 year ago
It seems that || works when the tag is a text file, but when it's in the UI `{blue eyes|black eyes|||}` it can't parse it.
I think for now, the wildcard text file should be sufficient. Not too sure if escaped characters would still be a feature though.
We may implement it in future. It has come up a few times, but for the moment it's low priority.
Another use case for this would be being able to use prompt editing in combinatorial generations.
E.g. Since prompting for "graying hair" usually just gives gray hair and "salt and pepper hair" gives nightmare fuel, I've found I get the best results with "[ black | gray ] hair " type constructs, but I can't use that in a "{ blonde | brunette | ginger | [black | gray]} hair" prompt.
Just another case where it would be useful.
I was just looking for a way to escape { and }
I'm trying out the https://github.com/Haoming02/sd-forge-couple extension and ran into a conflict with Dynamic Prompts, which another user has also reported here: https://github.com/Haoming02/sd-forge-couple/issues/73
I thought oh, if I could escape { and } then perhaps Dynamic Prompts would just pass it through and it might be processed by sd-forge-couple as normal?
It would be very useful if it was possible to define a custom escape character/sequence (possibly use the backtick as the default?)
I'm not too sure if this would be worth implementing, but a way to escape the pipe (|) character.
For my case, I was training a lora with the |_| tag, further explained at this here danbooru wiki. Since | is what separates tags with {}, I can't actually use this tag as a wildcard.
edit - fixed link