Skip to content

Commit c380d46

Browse files
authored
Add files via upload
1 parent 31910d5 commit c380d46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import os
44
import importlib.util
55

6+
__version__ = "2.3.0"
7+
68
# Add module directory to Python path
79
current_dir = Path(__file__).parent
810
if str(current_dir) not in sys.path:
@@ -12,6 +14,7 @@
1214
# Initialize mappings
1315
NODE_CLASS_MAPPINGS = {}
1416
NODE_DISPLAY_NAME_MAPPINGS = {}
17+
WEB_DIRECTORY = "./web"
1518

1619
def load_nodes():
1720
"""Automatically discover and load node definitions"""
@@ -45,4 +48,6 @@ def load_nodes():
4548
__all__ = [
4649
"NODE_CLASS_MAPPINGS",
4750
"NODE_DISPLAY_NAME_MAPPINGS"
48-
]
51+
]
52+
# print(f'\033[34m[ComfyUI-RMBG] v{__version__} \033[92mLoaded\033[0m')
53+
print(f'\033[34m[ComfyUI-RMBG]\033[0m v\033[93m{__version__}\033[0m | \033[93m{len(NODE_CLASS_MAPPINGS)} nodes\033[0m \033[92mLoaded\033[0m')

0 commit comments

Comments
 (0)