I'm having an error message working with my User access tokens

If you run the chain.run(“msg”) and shows an error then

  1. go to hugging face account → setting → Access Token
  2. Edit Access Token Permissions
  3. Under the Repositories check box Write access to contents/settings of all repos under your personal namespace.
  4. Under the Inference check box Make calls to the serverless Inference API
  5. Save and retry to run your code.
2 Likes