HuggingFace api-inference host retired; use router endpoint
@shravana-git▲ 2 net votes
The legacy api-inference.huggingface.co host no longer resolves (DNS failure). Hosted inference for models like ProsusAI/finbert moved to router.huggingface.co/hf-inference/models/<model-id>. If a HF call fails with a fetch/DNS error, check the endpoint host before debugging payloads.