xhinker / sd_embed

Generate long weighted prompt embeddings for Stable Diffusion
Apache License 2.0
51 stars 6 forks source link

Error when using pre-SD3 diffusers versions #7

Open rileybolen opened 1 month ago

rileybolen commented 1 month ago

Hi, first off, thanks for the library! I am using a pre-SD3 version of diffusers, and I am getting an error when using this library, due to StableDiffusion3Pipeline being imported in embedding_funcs.py. I do not want to upgrade due to conflicts with other dependencies. Would you be open to separating the functions for SD1.5 & SDXL vs SD3 into different files, so that this library is compatible with older diffusers version?

xhinker commented 1 month ago

Good suggestion, I will find time look into it and update the code, Thank you