Hi,
I have a Pro account of Hugging Face. But when I try to call the HuggingFace Model API, I get this error :-
OSError: You are trying to access a gated repo.
Make sure to request access at meta-llama/Llama-2-70b-chat-hf · Hugging Face and pass a token having permission to this repo either by logging in with huggingface-cli login
or by passing token=<your_token>
When I logged in to my Hugging face Account, I got this message :- Your request to access this repo has been successfully submitted, and is pending a review from the repo’s authors.
Can anyone please help me over this issue for why have I not been granted access to this repository after having a Pro Account.
I’m stuck due to this in one of my critical projects.
And it is an urgent requirement to get this issue resolved as soon as possible.
Quick leads are highly appreciated.
Thanks in Advance.