mirror of
https://github.com/ArdeniusAI/ComfyUI-cpu
synced 2026-11-19 01:00:36 +03:00
Fix embedding not working when on new line.
This commit is contained in:
1 parent
1f6a467e92
commit
324273fff2
1 file changed
+1
-1
+1
-1
@@ -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:"
|
||||
|
||||
Reference in new issue
Block a user