Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI
https://docs.comfy.org/comfy-cli/getting-started
GNU General Public License v3.0
288 stars 48 forks source link

Add support for HF token #193

Closed yoland68 closed 1 month ago

yoland68 commented 1 month ago

174

yoland68 commented 1 month ago
> comfy model download --url="https://huggingface.co/stabilityai/stable-audio-open-1.0/blob/main/model.safetensors" --set-hf-api-token=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
? Enter model type path (e.g. loras, checkpoints, ...) checkpoints
? Enter base model (e.g. SD1.5, SDXL, ...) sdaudio
? Enter filename to save model as model.safetensors
Downloading model main/model.safetensors from Hugging Face...
model.safetensors: 100%|████████████████████████████| 4.85G/4.85G [00:28<00:00, 172MB/s]
Model downloaded successfully to: 
[redacted]/ComfyUI/models/checkpoints/sdaudio/model.safetensors
yoland68 commented 1 month ago

Token removed