Im trying to build a ai chat bot it is showing error 404

"I am getting a consistent 404 Not Found error when trying to use the Inference API.

I have confirmed that:

  • It happens with both public models (gpt2) and gated models.

  • It happens when I bypass my Python code and use Invoke-WebRequest (curl) directly in my terminal.

  • It happens with two different, valid Hugging Face accounts.

  • Most importantly, it happens on two different internet connections (my home WiFi and my mobile hotspot).

This points to an issue on my machine’s configuration (firewall, proxy, etc.), and I need help diagnosing it."

1 Like