mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Fix embedding not working when on new line.
This commit is contained in:
parent
1f6a467e92
commit
324273fff2
@ -217,7 +217,7 @@ class SD1Tokenizer:
|
||||
|
||||
tokens = []
|
||||
for t in parsed_weights:
|
||||
to_tokenize = unescape_important(t[0]).split(' ')
|
||||
to_tokenize = unescape_important(t[0]).replace("\n", " ").split(' ')
|
||||
for word in to_tokenize:
|
||||
temp_tokens = []
|
||||
embedding_identifier = "embedding:"
|
||||
|
Loading…
Reference in New Issue
Block a user