14 lines
401 B
Python
14 lines
401 B
Python
import os
|
|
import sys
|
|
|
|
# Ensure the package directory is properly in sys.path for ComfyUI's loader
|
|
_current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
if _current_dir not in sys.path:
|
|
sys.path.insert(0, _current_dir)
|
|
|
|
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|