| hf_whoami | R Documentation |
Retrieve information about the currently authenticated user. Requires a valid Hugging Face token to be set.
hf_whoami(token = NULL)
token |
Character string containing your HF token. If NULL, uses the 'HF_TOKEN' environment variable, falling back to the legacy 'HUGGING_FACE_HUB_TOKEN'. |
A tibble with user, billing, organization, and token-scope metadata.
## Not run:
# Check current user
hf_whoami()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.