Unauthorized for url error with huggingface

John6666
Fri, 11 Jul 2025 13:37:07 +0000

api-inference.huggingface.co

This format’s endpoint has probably been discontinued, so you will need to find a new endpoint URL. It should be relatively easy to find by searching from the Deploy button on the model page.