damian0815 / compel

A prompting enhancement library for transformers-type text embedding systems
MIT License
526 stars 47 forks source link

Supporting separate SDXL CLIP G/L weighted prompts #63

Closed subpanic closed 1 year ago

subpanic commented 1 year ago

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).

damian0815 commented 1 year ago

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"

subpanic commented 1 year ago

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