InstantStyle / InstantStyle

InstantStyle: Free Lunch towards Style-Preserving in Text-to-Image Generation 🔥

Home Page:https://instantstyle.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLIP text embedding substraction

ivanprado opened this issue · comments

Hi! Great work!

I'm having trouble locating in your code where you subtract the CLIP text embedding from the CLIP image embedding in the IPAdapter, and where can you pass the prompt you want to be subtracted to the pipeline. Can you help?

Thank you! :-)

Check here.

Thank you! And the parameters are neg_content_prompt and neg_content_scale. Thank you!