diffusers
0d196f9f - Fix issue in maybe_convert_prompt (#3188)

Commit
2 years ago
Fix issue in maybe_convert_prompt (#3188) When the token used for textual inversion does not have any special symbols (e.g. it is not surrounded by <>), the tokenizer does not properly split the replacement tokens. Adding a space for the padding tokens fixes this.
Author
Parents
Loading