Download ComfyLiterals/__init__.py from MarkLilly/mis-custom-nodes: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/ComfyLiterals/__init__.py
- Command line
-
hf download hf://MarkLilly/mis-custom-nodes/ComfyLiterals/__init__.py
-
curl -L -o __init__.py https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/ComfyLiterals/__init__.py
581 Bytes
| from .nodes import IntLiteral, FloatLiteral, StringLiteral, CheckpointListLiteral, LoraListLiteral | |
| from .operations import Operation | |
| from .startup_utils import symlink_web_dir | |
| NODE_CLASS_MAPPINGS = { | |
| "Int": IntLiteral, | |
| "Float": FloatLiteral, | |
| "String": StringLiteral, | |
| "KepStringLiteral": StringLiteral, | |
| "Operation": Operation, | |
| "Checkpoint": CheckpointListLiteral, | |
| "Lora": LoraListLiteral, | |
| } | |
| NODE_DISPLAY_NAME_MAPPINGS = { | |
| "KepStringLiteral": "String", | |
| } | |
| EXTENSION_NAME = "ComfyLiterals" | |
| symlink_web_dir("js", EXTENSION_NAME) | |