chore(docs): updating deprecated huggingface-cli to hf (#3071)

* chore(docs): updating deprecated huggingface-cli to hf

* small typo in my-org
This commit is contained in:
Maxime Ellerbach
2026-03-04 15:08:49 +01:00
committed by GitHub
parent 4303b3c930
commit 96b7c212c4
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -170,13 +170,13 @@ Once you can drive the robot well, you can start recording data to train AI mode
We use Hugging Face to store your data online. First, log in with your token from [Hugging Face settings](https://huggingface.co/settings/tokens):
```bash
huggingface-cli login --token ${HUGGINGFACE_TOKEN} --add-to-git-credential
hf auth login --token ${HUGGINGFACE_TOKEN} --add-to-git-credential
```
Store your Hugging Face username:
```bash
HF_USER=$(huggingface-cli whoami | head -n 1)
HF_USER=$(hf auth whoami | awk -F': *' 'NR==1 {print $2}')
echo $HF_USER
```