18 lines
718 B
Python
18 lines
718 B
Python
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
# Eye-blink extension (mirrors the mouth pipeline). Merge its nodes in additively.
|
|
try:
|
|
from .eye_nodes import (
|
|
NODE_CLASS_MAPPINGS as _EYE_CLASS_MAPPINGS,
|
|
NODE_DISPLAY_NAME_MAPPINGS as _EYE_DISPLAY_MAPPINGS,
|
|
)
|
|
NODE_CLASS_MAPPINGS.update(_EYE_CLASS_MAPPINGS)
|
|
NODE_DISPLAY_NAME_MAPPINGS.update(_EYE_DISPLAY_MAPPINGS)
|
|
except Exception as _e: # never break the working mouth pipeline if the extension errors
|
|
import logging
|
|
logging.getLogger(__name__).warning("PNGTuber eye_nodes failed to load: %s", _e)
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|