Files
Bria-AI-ComfyUI-BRIA-API/__init__.py
T
2024-12-03 18:17:00 +02:00

12 lines
410 B
Python

from .bria_api_node import EraserNode, GenFillNode
# Map the node class to a name used internally by ComfyUI
NODE_CLASS_MAPPINGS = {
"BriaEraser": EraserNode, # Return the class, not an instance
"BriaGenFill": GenFillNode,
}
# Map the node display name to the one shown in the ComfyUI node interface
NODE_DISPLAY_NAME_MAPPINGS = {
"BriaEraser": "Bria Eraser",
"BriaGenFill": "Bria GenFill",
}