File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 33import os
44import importlib .util
55
6+ __version__ = "2.3.0"
7+
68# Add module directory to Python path
79current_dir = Path (__file__ ).parent
810if str (current_dir ) not in sys .path :
1214# Initialize mappings
1315NODE_CLASS_MAPPINGS = {}
1416NODE_DISPLAY_NAME_MAPPINGS = {}
17+ WEB_DIRECTORY = "./web"
1518
1619def 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' )
You can’t perform that action at this time.
0 commit comments