Token not working

Hey there, I am trying to set up a app that i made on python which will require token authorization from hugging face. When i type huggingface-cli login and then type the token, it shows as invalid. I have tried making new tokens and nothing seems to work. There are no errors on the code as long as I am aware at least at the syntax level.
The main reason for connection to HF is to analyse images urls and videos too.

Not sure if i have to pay for this or what ?
Woul appreciate any help.

1 Like

Regarding the use of models, even if it is a Gated model, you only need to obtain permission, and there are no fees. If it is a public model, you can load it without using tokens.

However, many people fall into pitfalls related to tokens.