Skip to content

Commit 2d28b0b

Browse files
authored
improve: add descriptions for clip loaders (#5576)
1 parent 8b275ce commit 2d28b0b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

comfy_extras/nodes_sd3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def INPUT_TYPES(s):
1414

1515
CATEGORY = "advanced/loaders"
1616

17+
DESCRIPTION = "[Recipes]\n\nsd3: clip-l, clip-g, t5"
18+
1719
def load_clip(self, clip_name1, clip_name2, clip_name3):
1820
clip_path1 = folder_paths.get_full_path_or_raise("text_encoders", clip_name1)
1921
clip_path2 = folder_paths.get_full_path_or_raise("text_encoders", clip_name2)

nodes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,8 @@ def INPUT_TYPES(s):
902902

903903
CATEGORY = "advanced/loaders"
904904

905+
DESCRIPTION = "[Recipes]\n\nstable_diffusion: clip-l\nstable_cascade: clip-g\nsd3: t5 / clip-g / clip-l\nstable_audio: t5\nmochi: t5"
906+
905907
def load_clip(self, clip_name, type="stable_diffusion"):
906908
if type == "stable_cascade":
907909
clip_type = comfy.sd.CLIPType.STABLE_CASCADE
@@ -930,6 +932,8 @@ def INPUT_TYPES(s):
930932

931933
CATEGORY = "advanced/loaders"
932934

935+
DESCRIPTION = "[Recipes]\n\nsdxl: clip-l, clip-g\nsd3: clip-l, clip-g / clip-l, t5 / clip-g, t5\nflux: clip-l, t5"
936+
933937
def load_clip(self, clip_name1, clip_name2, type):
934938
clip_path1 = folder_paths.get_full_path_or_raise("text_encoders", clip_name1)
935939
clip_path2 = folder_paths.get_full_path_or_raise("text_encoders", clip_name2)

0 commit comments

Comments
 (0)