From c380d4660a2717ec408a1e60a6815cf9f5ecee49 Mon Sep 17 00:00:00 2001 From: AI Lab <129358391+1038lab@users.noreply.github.com> Date: Thu, 1 May 2025 23:58:14 -0700 Subject: [PATCH] Add files via upload --- __init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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