Renamed 'web/bettercombos.js' to 'web/js/bettercombos.js' for better organization. Updated '__init__.py' to use 'web' as the directory path. Added 'web/index.js' to import the relocated 'betterCombos.js'.
12 lines
323 B
Python
12 lines
323 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 = {k:v.TITLE for k,v in NODE_CLASS_MAPPINGS.items()}
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
|
|
|
WEB_DIRECTORY = "web"
|