fred-dev/comfy_ui_ali
0
1import os2import sys3 4cli_mode_flag = os.path.join(os.path.dirname(__file__), '.enable-cli-only-mode')5 6if not os.path.exists(cli_mode_flag):7 sys.path.append(os.path.join(os.path.dirname(__file__), "glob"))8 import manager_server # noqa: F4019 import share_3rdparty # noqa: F40110 import cm_global11 12 if not cm_global.disable_front and not 'DISABLE_COMFYUI_MANAGER_FRONT' in os.environ:13 WEB_DIRECTORY = "js"14else:15 print("\n[ComfyUI-Manager] !! cli-only-mode is enabled !!\n")16 17NODE_CLASS_MAPPINGS = {}18__all__ = ['NODE_CLASS_MAPPINGS']19 20 21 22 