26 lines
743 B
Python
26 lines
743 B
Python
"""
|
|
ComfyUI Sora Custom Nodes
|
|
|
|
This package provides custom nodes for interacting with Sora-compatible APIs.
|
|
ComfyUI will automatically load NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS
|
|
from this file.
|
|
"""
|
|
|
|
# Import all node classes and mappings from sora_node
|
|
# Try relative import first (for ComfyUI), fall back to absolute import
|
|
try:
|
|
from .sora_node import (
|
|
NODE_CLASS_MAPPINGS,
|
|
NODE_DISPLAY_NAME_MAPPINGS,
|
|
)
|
|
except ImportError:
|
|
# Fallback for direct execution or different import contexts
|
|
from sora_node import (
|
|
NODE_CLASS_MAPPINGS,
|
|
NODE_DISPLAY_NAME_MAPPINGS,
|
|
)
|
|
|
|
# Export the mappings that ComfyUI will look for
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|
|
|