From 90267ffb3aab73bf15b9e53daacf96eaaf735896 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 849214ce0..0590741bb 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 {}