From ce9ac2fe0581288d4a24869dae2e04a3c2b67061 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Thu, 1 Aug 2024 18:40:56 -0700 Subject: [PATCH] Fix clip_g/clip_l mixup (#4168) --- comfy/text_encoders/flux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/text_encoders/flux.py b/comfy/text_encoders/flux.py index 849214ce..0590741b 100644 --- a/comfy/text_encoders/flux.py +++ b/comfy/text_encoders/flux.py @@ -28,7 +28,7 @@ class FluxTokenizer: 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 {}