| """ | |
| This file is the entry point for the ComfyUI-Manager package, handling CLI-only mode and initial setup. | |
| """ | |
| import os | |
| import sys | |
| cli_mode_flag = os.path.join(os.path.dirname(__file__), '.enable-cli-only-mode') | |
| if not os.path.exists(cli_mode_flag): | |
| sys.path.append(os.path.join(os.path.dirname(__file__), "glob")) | |
| import manager_server # noqa: F401 | |
| import share_3rdparty # noqa: F401 | |
| import cm_global | |
| if not cm_global.disable_front and not 'DISABLE_COMFYUI_MANAGER_FRONT' in os.environ: | |
| WEB_DIRECTORY = "js" | |
| else: | |
| print("\n[ComfyUI-Manager] !! cli-only-mode is enabled !!\n") | |
| NODE_CLASS_MAPPINGS = {} | |
| __all__ = ['NODE_CLASS_MAPPINGS'] | |
Xet Storage Details
- Size:
- 680 Bytes
- Xet hash:
- 91a7b7737ba0ed12f44fa6e458a41f7e90e024baeda3292d274811d84883fd9a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.