Skip to content

Commit ce9ac2f

Browse files
authored
Fix clip_g/clip_l mixup (comfyanonymous#4168)
1 parent e638f28 commit ce9ac2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/text_encoders/flux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def tokenize_with_weights(self, text:str, return_word_ids=False):
2828
return out
2929

3030
def untokenize(self, token_weight_pair):
31-
return self.clip_g.untokenize(token_weight_pair)
31+
return self.clip_l.untokenize(token_weight_pair)
3232

3333
def state_dict(self):
3434
return {}

0 commit comments

Comments
 (0)