Skip to content

Commit

Permalink
Do not require HF tokens with write access
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Aug 7, 2023
1 parent be72c0e commit a78425c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/next-huggingface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pnpm create next-app --example https://github.com/vercel-labs/ai/tree/main/examp
To run the example locally you need to:

1. Sign up at [Hugging Face](https://huggingface.co/join).
2. Go to your [Hugging Face account settings](https://huggingface.co/settings/tokens). Create a User Access Token with `write` access.
2. Go to your [Hugging Face account settings](https://huggingface.co/settings/tokens). Create a User Access Token with `read` access.
3. Set the required Hugging Face environment variable with the token as shown [the example env file](./.env.local.example) but in a new file called `.env.local`.
4. `pnpm install` to install the required dependencies.
5. `pnpm dev` to launch the development server.
Expand Down

0 comments on commit a78425c

Please sign in to comment.