- Added __init__.py to register the custom node properly - Fixed folder structure for correct module imports - Updated node file to handle imports based on the environment
12 lines
300 B
Python
12 lines
300 B
Python
from .your_node_file import ComfyUIDepthEstimationNode
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"ComfyUIDepthEstimationNode": ComfyUIDepthEstimationNode
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"ComfyUIDepthEstimationNode": "Depth Estimation Node"
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|