Skip to content

[Feature Request] Count and truncate by tokens amount #40

@a-l-e-x-d-s-9

Description

@a-l-e-x-d-s-9

Thank you for your great work!
I'm using EveryDream2trainer and it has a limit of 75 tokens per caption.
To check how many tokens are used I have to switch to:
https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git
Then go back and adjust the caption accordingly.
It would be great if the token counter will be presented near the captions, inside your extension.
Also if you could add an option to truncate the captions according to certain tokens number, it would be fantastic.
Thank you again for your amazing work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions