Xenova HF staff commited on
Commit
2de84c7
1 Parent(s): 805ab1e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -8,14 +8,14 @@ https://huggingface.co/depth-anything/Depth-Anything-V2-Large with ONNX weights
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 w/ `onnx-community/depth-anything-v2-large`.
17
  ```js
18
- import { pipeline } from '@xenova/transformers';
19
 
20
  // Create depth estimation pipeline
21
  const depth_estimator = await pipeline('depth-estimation', 'onnx-community/depth-anything-v2-large');
 
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 w/ `onnx-community/depth-anything-v2-large`.
17
  ```js
18
+ import { pipeline } from '@huggingface/transformers';
19
 
20
  // Create depth estimation pipeline
21
  const depth_estimator = await pipeline('depth-estimation', 'onnx-community/depth-anything-v2-large');