dustysys / ddetailer

339 stars 73 forks source link

Fix to be compatible with other extensions(e.g. Dynamic prompt) #46

Open HyeongminMoon opened 1 year ago

HyeongminMoon commented 1 year ago

fix to use the result prompt by other Extensions(e.g. Dynamic prompt).

I found current ddetailer implementation uses original prompt.

For example, if I use dynamic prompt syntax "a girl with {hat|sunglasses|ear rings|}"

I fixed this to use the result prompt after applying other extensions

I think this will work for any other extensions too.

Also, I appiled this implemetation to metadata as well. image

However webui api gets only one 'info', so you will see original prompt on webui. (Don't worry, metadata is well applied like above) image

HyeongminMoon commented 1 year ago

Of course it also works well with dynamic prompt wildcards :)