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

longer prompts? #6

Closed
gjakuipers opened this issue Oct 14, 2022 · 6 comments
Closed

longer prompts? #6

gjakuipers opened this issue Oct 14, 2022 · 6 comments

Comments

@gjakuipers
Copy link

how can i use longer prompts?

sometimes i get the message "The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens"

@WASasquatch
Copy link
Owner

WASasquatch commented Oct 15, 2022

Currently, you can't. This is using diffusers and stable diffusion weights, which is based on ViTL14 CLIP model, with a token limit of 77.

If you are using Prompt Styles, these consume part of your prompts token allowance.

@plambe
Copy link
Collaborator

plambe commented Oct 18, 2022

I know in DD you could add multiple prompts, each with a max of 77 tokens. Is this not possible in SD?

@WASasquatch
Copy link
Owner

WASasquatch commented Oct 18, 2022 via email

@WASasquatch
Copy link
Owner

I will be adding the LPW pipeline soon, aka "Long Prompt Weighted" or w/e. It has weights and longer prompts.

@WASasquatch
Copy link
Owner

WASasquatch commented Nov 5, 2022

@gjakuipers See dev build at: https://github.com/WASasquatch/easydiffusion/blob/dev/Stability_AI_Easy_Diffusion.ipynb

It supports prompt weights, and long prompts.

@gjakuipers
Copy link
Author

thanks WASaquatch, it is working.

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

3 participants