Commit Graph
5 Commits
Author SHA1 Message Date
huchukato a32ec41975 Correct terminology: API Key -> HF token
- Updated all references to use 'HF token' instead of 'API Key'
- Clarified that token is only for private repositories
- Updated environment variable name to HUGGINGFACE_TOKEN
- More accurate documentation of token purpose
2026-02-21 02:53:21 +01:00
huchukato ce1d9b3980 Fix remaining Civitai references causing button disappearance
- Replaced CIVITAI_API_KEY with HUGGINGFACE_API_KEY
- Removed select_primary_file import (not implemented for HF)
- Added simple file selection logic for HF
- Fixed utils.py imports and function calls
- Updated JavaScript references

This should restore the HuggingFace button in ComfyUI
2026-02-21 02:16:21 +01:00
huchukato 66e00264a0 Initial HuggingFace API implementation
- Converted CivitaiAPI to HuggingFaceAPI
- Updated all references from civitai to huggingface
- Renamed web files (CSS/JS)
- Implemented core HF API methods:
  * search_models()
  * get_model_info()
  * get_model_files()
  * download_file()
- Clean API structure for HuggingFace integration

Next: Update server routes and helpers for HF endpoints
2026-02-21 01:52:05 +01:00
MoonGoblin 7c0791ed9c feat: support env API key and global model root paths 2026-02-14 12:32:29 +07:00
MoonGoblin 401c0a0787 Refactor 2025-08-09 16:22:20 +08:00