Amotile
Amotile
It even leaves unmatched groups in place in case someone wants to use them for something "after" this parser A {fire} dragon, {landscape,city} will stay "untouched".
Using this syntax was not possible without changing the scheduler parser: `{a fire|an ice:3}` If @AUTOMATIC1111 really want to do their original syntax I think that would be possible as...
Considering I haven't coded any python before #930 , it was indeed a bit tricky.
Good catch, I think it works better now: ``` {{fire@4|lava@1}|ice@2|water@5} [('fire', 0.1), ('lava', 0.025), ('ice', 0.25), ('water', 0.625)] 1.0 {{fire@4|lava@1}|ice@2|water@4} [('fire', 0.1142857142857143), ('lava', 0.028571428571428574), ('ice', 0.2857142857142857), ('water', 0.5714285714285714)] 1.0 {{fire@4|lava@1}|[email protected]|water@4}...
@shinkarom As I wrote above: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/1273#issuecomment-1261542619 This wasn't possible without also touching the [from:to:when] parser. If that's the syntax we want I could add a preprocessing step that converts the...
I'm off the opinion that if you can do the same thing by running the system with different prompts it can be a custom script. For things you can't do...
I'm sure a proper parser would be more scalable for the future, if though though and designed right. But writing such a thing is currently beyond my python skills. Also...
Now when the is back on the table. * Is there anything that needs to be fixed? * Should I add the switch of syntax? so it's {fire|ice:10} instead of...
With my preprocess solution both would actually work. Because it just converts the `:` into `@` when in the correct context.
Here's some of the use cases for this. https://www.reddit.com/r/StableDiffusion/comments/xv893c/under_the_mountain_prompt_blending_animation/ https://www.youtube.com/watch?v=0X3lOaRA0N4 I'm still learning how to use it but I'm still pretty happy with them.