Files
AIrjen-OneButtonPrompt/__init__.py
T
2023-08-07 21:32:58 +02:00

11 lines
377 B
Python

import os
import sys
import folder_paths
custom_nodes_path = os.path.join(folder_paths.base_path, "custom_nodes")
onebuttonprompt_path = os.path.join(custom_nodes_path, "onebuttonprompt")
sys.path.insert(0, onebuttonprompt_path)
from .OneButtonPromptNodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']