Skip to content

Commit f40e1f9

Browse files
committed
other doc stuff.... this will never end
1 parent acd7444 commit f40e1f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/inference/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ yarn add @huggingface/inference
2525

2626
```ts
2727
// esm.sh
28-
import { InferenceClient } from "https://esm.sh/@huggingface/inference"
28+
import { InferenceClient } from "https://esm.sh/@huggingface/inference";
2929
// or npm:
30-
import { InferenceClient } from "npm:@huggingface/inference"
30+
import { InferenceClient } from "npm:@huggingface/inference";
3131
```
3232

3333
### Initialize
3434

3535
```typescript
36-
import { InferenceClient } from '@huggingface/inference'
36+
import { InferenceClient } from '@huggingface/inference';
3737

38-
const hf = new InferenceClient('your access token')
38+
const hf = new InferenceClient('your access token');
3939
```
4040

41-
**Important note:** Using an access token is optional to get started, however you will be rate limited eventually. Join [Hugging Face](https://huggingface.co/join) and then visit [access tokens](https://huggingface.co/settings/tokens) to generate your access token for **free**.
41+
**Important note:** Always pass an access token. Join [Hugging Face](https://huggingface.co/join) and then visit [access tokens](https://huggingface.co/settings/tokens) to generate your access token for **free**.
4242

4343
Your access token should be kept private. If you need to protect it in front-end applications, we suggest setting up a proxy server that stores the access token.
4444

0 commit comments

Comments
 (0)