Files
huchukato-ComfyUI-HuggingFace/utils
huchukato 1981bdfded Fix HuggingFace URL parsing and download logic
- Rewrote parse_huggingface_input() for HF URLs
- Support direct download URLs with /resolve/main/
- Simplified DownloadModel.py for HF API
- Proper model ID extraction (username/repo format)
- File selection logic for .safetensors or largest file
- Fixed API calls to use correct HF endpoints

Should now handle URLs like:
https://huggingface.co/FX-FeiHou/wan2.2-Remix/resolve/main/NSFW/file.safetensors
2026-02-21 02:14:25 +01:00
..
2025-04-01 15:02:49 +07:00