Xenova HF staff commited on
Commit
c57a235
1 Parent(s): 9ec72af

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -8,15 +8,15 @@ https://huggingface.co/LiheYoung/depth-anything-base-hf with ONNX weights to be
8
 
9
  ## Usage (Transformers.js)
10
 
11
- If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@xenova/transformers) using:
12
  ```bash
13
- npm i @xenova/transformers
14
  ```
15
 
16
  **Example:** Depth estimation with `Xenova/depth-anything-base-hf`.
17
 
18
  ```js
19
- import { pipeline } from '@xenova/transformers';
20
 
21
  // Create depth-estimation pipeline
22
  const depth_estimator = await pipeline('depth-estimation', 'Xenova/depth-anything-base-hf');
 
8
 
9
  ## Usage (Transformers.js)
10
 
11
+ If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:
12
  ```bash
13
+ npm i @huggingface/transformers
14
  ```
15
 
16
  **Example:** Depth estimation with `Xenova/depth-anything-base-hf`.
17
 
18
  ```js
19
+ import { pipeline } from '@huggingface/transformers';
20
 
21
  // Create depth-estimation pipeline
22
  const depth_estimator = await pipeline('depth-estimation', 'Xenova/depth-anything-base-hf');