Add tooltips to LoraSave node.

This commit is contained in:
comfyanonymous 2024-10-18 06:01:09 -04:00
parent ce0542e10b
commit 518c0dc2fe
1 changed files with 6 additions and 2 deletions

View File

@ -82,8 +82,8 @@ class LoraSave:
"lora_type": (tuple(LORA_TYPES.keys()),), "lora_type": (tuple(LORA_TYPES.keys()),),
"bias_diff": ("BOOLEAN", {"default": True}), "bias_diff": ("BOOLEAN", {"default": True}),
}, },
"optional": {"model_diff": ("MODEL",), "optional": {"model_diff": ("MODEL", {"tooltip": "The ModelSubtract output to be converted to a lora."}),
"text_encoder_diff": ("CLIP",)}, "text_encoder_diff": ("CLIP", {"tooltip": "The CLIPSubtract output to be converted to a lora."})},
} }
RETURN_TYPES = () RETURN_TYPES = ()
FUNCTION = "save" FUNCTION = "save"
@ -113,3 +113,7 @@ class LoraSave:
NODE_CLASS_MAPPINGS = { NODE_CLASS_MAPPINGS = {
"LoraSave": LoraSave "LoraSave": LoraSave
} }
NODE_DISPLAY_NAME_MAPPINGS = {
"LoraSave": "Extract and Save Lora"
}