From 574ff33d4de9b7020b152c36d8cb32e8ba623119 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 21 Jan 2025 08:57:04 -0500 Subject: [PATCH] Add missing case to CLIPLoader. --- nodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodes.py b/nodes.py index cfd7dd8a4..ef51994ef 100644 --- a/nodes.py +++ b/nodes.py @@ -937,6 +937,8 @@ class CLIPLoader: clip_type = comfy.sd.CLIPType.LTXV elif type == "pixart": clip_type = comfy.sd.CLIPType.PIXART + elif type == "cosmos": + clip_type = comfy.sd.CLIPType.COSMOS else: clip_type = comfy.sd.CLIPType.STABLE_DIFFUSION