From 52bc66cf04767f30b0d940b62b2a48ef01c9bc87 Mon Sep 17 00:00:00 2001 From: Olivv <133010426+olivv-cs@users.noreply.github.com> Date: Tue, 10 Jun 2025 23:01:39 +0300 Subject: [PATCH] stupid error --- funpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funpack.py b/funpack.py index a7daa61f..51b3a3c3 100644 --- a/funpack.py +++ b/funpack.py @@ -265,7 +265,7 @@ class FunPackCLIPLoader: return pooled_output # Replace text encoder in CLIP model - clip_model = sd.load_clip(ckpt_paths=[clip_path, vision_path], embedding_directory=None, clip_type=get_clip_type(type), model_options={"ignore_mismatched_sizes" = True}) + clip_model = sd.load_clip(ckpt_paths=[clip_path, vision_path], embedding_directory=None, clip_type=get_clip_type(type), model_options={"ignore_mismatched_sizes": True}) if load_te == True: clip_model.text = InstructWrapper() print("Current TE:", clip_model.text) # Check if encoder is replaced