diff --git a/__init__.py b/__init__.py index 5fc0224..2e056ad 100644 --- a/__init__.py +++ b/__init__.py @@ -3,6 +3,8 @@ import sys import os import importlib.util +__version__ = "2.3.0" + # Add module directory to Python path current_dir = Path(__file__).parent if str(current_dir) not in sys.path: @@ -12,6 +14,7 @@ if str(current_dir) not in sys.path: # Initialize mappings NODE_CLASS_MAPPINGS = {} NODE_DISPLAY_NAME_MAPPINGS = {} +WEB_DIRECTORY = "./web" def load_nodes(): """Automatically discover and load node definitions""" @@ -45,4 +48,6 @@ load_nodes() __all__ = [ "NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS" -] \ No newline at end of file +] +# print(f'\033[34m[ComfyUI-RMBG] v{__version__} \033[92mLoaded\033[0m') +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') \ No newline at end of file