Fix: Improve HuggingFace model ID resolution for sd.cpp
- Enhanced the HF model resolution logic in images.py sd.cpp fallback path - Now checks for ANY cached file from the repo first (not just GGUF files) - Falls back to checking for cached GGUF files specifically - Last resort: downloads the first file in the repo as fallback - Better error handling and logging throughout the resolution process - This should resolve models that are already cached even if the exact GGUF filename isn't known
Showing
Please
register
or
sign in
to comment