Access issues for gated repos

hi @sanchitamore

Did you create an access token? Did you add a permission for relevant repository?

You can check from Hugging Face – The AI community building the future..
(Edit permissions → Repositories permissions)

Don’t forget to add token parameter when you call the function:

or use huggingface-cli login