ljleb / prompt-fusion-extension

auto1111 webui extension for all sorts of prompt interpolations!
MIT License
264 stars 16 forks source link

using an interpolation inside prompt editing doesn't work as intended #23

Closed ljleb closed 1 year ago

ljleb commented 1 year ago

Using for example:

[a:[b:c: , ]:10]

Does not start including the interpolation [b:c: , ] after step 10 but from the beginning of the sampling process. As a workaround for now, the first control point a step defaults to 10 instead of -1.

What should instead happen is that it starts taking effect only after step 10 (so step 11) no matter what step is specified for the first control point. For example, saying [b:c: 2, ] should not start taking effect earlier than step 11. The control point step specified should be respected, but the interpolation should only start taking effect when the prompt editing activates it.

ljleb commented 1 year ago

after testing it seems that it actually already works in main. The best code is no code!