Files
EricRorich-ComfyUI-face-shaper/__init__.py
2026-01-14 17:45:03 +01:00

28 lines
689 B
Python

"""
Updated package initializer for the ComfyUI Face Shaper custom node.
This version adjusts the import to match the renamed module `face_shaper.py`.
Place this file as `__init__.py` in your `ComfyUI-face-shaper` folder to
register the node correctly.
"""
from .face_shaper import ComfyUIFaceShaper
# Mappings used by ComfyUI to locate and display the node.
NODE_CLASS_MAPPINGS = {
"RORICH-AI": ComfyUIFaceShaper,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"RORICH-AI": "Face-Shaper",
}
# Export web directory for client-side extensions
WEB_DIRECTORY = "./web/js"
__all__ = [
"NODE_CLASS_MAPPINGS",
"NODE_DISPLAY_NAME_MAPPINGS",
"WEB_DIRECTORY",
"ComfyUIFaceShaper",
]