Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work like lpw_stable_diffusion? #54

Closed
sarmientoj24 opened this issue Aug 4, 2023 · 1 comment
Closed

Does this work like lpw_stable_diffusion? #54

sarmientoj24 opened this issue Aug 4, 2023 · 1 comment

Comments

@sarmientoj24
Copy link

I can see that it is designed for weighted prompts. However, how does it deal with long prompts?

https://github.com/huggingface/diffusers/blob/main/examples/community/lpw_stable_diffusion.py

@damian0815
Copy link
Owner

idk how lpw_stable_diffusion works but if you pass truncate_long_prompts=False then it subdivides the prompt blindly into 75-token chunks. todo is better logic that splits on , or . or ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants