Files
Junst-ComfyUI-Concept-Diffu…/__init__.py
T
Junst 393efbeb15 Fix TITLE attribute error in __init__.py
- Import NODE_DISPLAY_NAME_MAPPINGS directly from nodes.py
- Remove dependency on TITLE attribute from node classes
- Fix AttributeError when loading custom node in ComfyUI
2025-09-24 15:57:14 +09:00

10 lines
245 B
Python

# only import if running as a custom node
try:
import comfy.utils
except ImportError:
pass
else:
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']