basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 469 forks source link

request: tokenizer #108

Open thezveroboy opened 2 years ago

thezveroboy commented 2 years ago

as i know sd has use a limited length of tokens in prompt . is it possible to add in gradio interface a counter of used tokens in prompt and flashing the edge of unused? something like this one?

https://beta.openai.com/tokenizer