damian0815 / compel

A prompting enhancement library for transformers-type text embedding systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting separate SDXL CLIP G/L weighted prompts

subpanic opened this issue · comments

Currently it appears only possible to send any prompt to both SDXL text encoders with compel. Would be very useful to be able to send a different weighted prompt to each text encoder (such as using G for primary description and L for keyword/style emphasis).

I have added an example to https://github.com/damian0815/compel/blob/main/compel-demo-sdxl.ipynb of doing exactly this, see the bottom "Different prompts for different encoders"

Thanks so much @damian0815 , sorry it's difficult to find things often spread among the repos