Closed gjakuipers closed 2 years ago
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.
I know in DD you could add multiple prompts, each with a max of 77 tokens. Is this not possible in SD?
I haven't looked to deep into this issue for Diffusers yet, but I would like to be able to do prompt swapping at X steps or whatever.
I've only seen this in AUTOMATIC and the code doesn't seem relevant to diffusers from what I can tell.
On Tue, Oct 18, 2022, 1:39 AM plambe @.***> wrote:
I know in DD you could add multiple prompts, each with a max of 77 tokens. Is this not possible in SD?
— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/easydiffusion/issues/6#issuecomment-1282022226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZILYJDCURC5Q3FGPZTWDZO4BANCNFSM6AAAAAARE7Z76M . You are receiving this because you commented.Message ID: @.***>
I will be adding the LPW pipeline soon, aka "Long Prompt Weighted" or w/e. It has weights and longer prompts.
@gjakuipers See dev build at: https://github.com/WASasquatch/easydiffusion/blob/dev/Stability_AI_Easy_Diffusion.ipynb
It supports prompt weights, and long prompts.
thanks WASaquatch, it is working.
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"