diff --git a/docs/huggingface-access-token.md b/docs/huggingface-access-token.md index 4c9bc1b..c92a12e 100644 --- a/docs/huggingface-access-token.md +++ b/docs/huggingface-access-token.md @@ -15,7 +15,7 @@ Here is how you can generate a **"read-only public repositories"** access token * store the token on your machine (replace the placeholder with your actual token): ``` -echo -n > `$HOME/.cache/huggingface/token` +mkdir -p $HOME/.cache/huggingface/; echo -n > "$HOME/.cache/huggingface/token" ``` The `-n` is important in order to not append an "end of line" character at the end of the file that would corrupt the token.