ComfyUI-HfLoader

ComfyUI-HfLoader
★ 4

模型加载Hugging FaceComfyUI 插件快速集成
用于在 ComfyUI 中从 Hugging Face 一键拉取并加载模型,简化配置并加速集成。
💡 在 ComfyUI 工作流中快速拉取并加载 Hugging Face 模型以便推理与微调。
🍴 3 Forks💻 Python🔄 2025-02-13
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9671236b7e59
📦 requirements.txt
huggingface-hub
📄 README

ComfyUI-HfLoader

A simple and easy to use Hugging Face model loader for ComfyUI.

Installation

In custom_node directory, run the following command to install the package:

git clone https://github.com/olduvai-jp/ComfyUI-HfLoader.git

And then, install the package:

pip install huggingface-hub

Usage

LoRA Loader From Hf

Load a model from Hugging Face model hub.

  • repo_name: The name of the repository.
  • filename: The name of the file.
  • api_token: The API token for the Hugging Face. If repo is public, this can be left empty.
  • strength_model: How strongly to modify the diffusion model. This value can be negative.
  • strength_clip: How strongly to modify the CLIP model. This value can be negative.
  • ControlNet Loader From HF

    Load a model from Hugging Face model hub.

  • repo_name: The name of the repository.
  • filename: The name of the file.
  • api_token: The API token for the Hugging Face. If repo is public, this can be left empty.