Hi I have following query.
In this program HUGGING_FACE_API_KEY is not mentioned. The line of code is written as
HUGGING_FACE_API_KEY=os.environ.get(“HUGGING_FACE_API_KEY”)
Then my question is how the code is running? Has the API Key value is kept in some env file?
1 Like
There are probably many people using whoami.
pip install -U huggingface_hub
from huggingface_hub import login, whoami
login(token="hf_....")
whoami()
1 Like