Skip to content

Commit

Permalink
Fix clip_g/clip_l mixup (comfyanonymous#4168)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJKL authored Aug 2, 2024
1 parent e638f28 commit ce9ac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/text_encoders/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def tokenize_with_weights(self, text:str, return_word_ids=False):
return out

def untokenize(self, token_weight_pair):
return self.clip_g.untokenize(token_weight_pair)
return self.clip_l.untokenize(token_weight_pair)

def state_dict(self):
return {}
Expand Down

0 comments on commit ce9ac2f

Please sign in to comment.