Download custom_nodes/ComfyUI-Manager/__init__.py from fotographerai/Zen-Style-Shape: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/fotographerai/Zen-Style-Shape/resolve/1e1fbeb6135765d0be77b04237eb90cd6ba0d1a0/custom_nodes/ComfyUI-Manager/__init__.py
- Command line
-
hf download hf://spaces/fotographerai/Zen-Style-Shape@1e1fbeb6135765d0be77b04237eb90cd6ba0d1a0/custom_nodes/ComfyUI-Manager/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/fotographerai/Zen-Style-Shape/resolve/1e1fbeb6135765d0be77b04237eb90cd6ba0d1a0/custom_nodes/ComfyUI-Manager/__init__.py
366 Bytes
| import os | |
| cli_mode_flag = os.path.join(os.path.dirname(__file__), '.enable-cli-only-mode') | |
| if not os.path.exists(cli_mode_flag): | |
| from .glob import manager_server | |
| from .glob import share_3rdparty | |
| WEB_DIRECTORY = "js" | |
| else: | |
| print(f"\n[ComfyUI-Manager] !! cli-only-mode is enabled !!\n") | |
| NODE_CLASS_MAPPINGS = {} | |
| __all__ = ['NODE_CLASS_MAPPINGS'] | |