A more robust way to get the logged in HF user would to be just: ```py from huggingface_hub import get_token token = get_token() print(token) ``` which will read the token, instead of requiring it to be set via an env variable.
A more robust way to get the logged in HF user would to be just:
which will read the token, instead of requiring it to be set via an env variable.