From 0d925c2503d79a1a5d060b78abaff3aa84022758 Mon Sep 17 00:00:00 2001 From: AxHa Date: Mon, 29 Jul 2024 14:20:28 +0200 Subject: [PATCH] Update quick-start.md (#2422) Fixed import of whoami() function from transformers to huggingface_hub. --- docs/source/en/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/quick-start.md b/docs/source/en/quick-start.md index 77624ad9a3..7105b58702 100644 --- a/docs/source/en/quick-start.md +++ b/docs/source/en/quick-start.md @@ -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=...) ```