Instructions to use highscoregames12018/ComfyUI_Files with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use highscoregames12018/ComfyUI_Files with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TheRaf7/ultra-real-wan2.2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("highscoregames12018/ComfyUI_Files") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download custom_nodes/ComfyUI-Manager/__init__.py from highscoregames12018/ComfyUI_Files: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/highscoregames12018/ComfyUI_Files/resolve/main/custom_nodes/ComfyUI-Manager/__init__.py
- Command line
-
hf download hf://highscoregames12018/ComfyUI_Files/custom_nodes/ComfyUI-Manager/__init__.py
-
curl -L -o __init__.py https://huggingface.co/highscoregames12018/ComfyUI_Files/resolve/main/custom_nodes/ComfyUI-Manager/__init__.py
680 Bytes
| """ | |
| 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'] | |