Skip to content

Commit

Permalink
Update quick-start.md (#2422)
Browse files Browse the repository at this point in the history
Fixed import of whoami() function from transformers to huggingface_hub.
  • Loading branch information
AxHa authored Jul 29, 2024
1 parent 4706917 commit 0d925c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Authentication via an environment variable or a secret has priority over the tok
Finally, it is also possible to authenticate by passing your token to any method that accepts `token` as a parameter.

```
from transformers import whoami
from huggingface_hub import whoami
user = whoami(token=...)
```
Expand Down

0 comments on commit 0d925c2

Please sign in to comment.