From d303cb53415f87f499c2e07a7a2d98d4c22365ec 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 cfd7dd8a..ef51994e 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