Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ https://huggingface.co/pyannote/segmentation-3.0 with ONNX weights to be compati
|
|
| 10 |
## Transformers.js (v3) usage
|
| 11 |
|
| 12 |
```js
|
| 13 |
-
import { AutoProcessor, AutoModelForAudioFrameClassification, read_audio } from '@
|
| 14 |
|
| 15 |
// Load model and processor
|
| 16 |
const model_id = 'onnx-community/pyannote-segmentation-3.0';
|
|
|
|
| 10 |
## Transformers.js (v3) usage
|
| 11 |
|
| 12 |
```js
|
| 13 |
+
import { AutoProcessor, AutoModelForAudioFrameClassification, read_audio } from '@huggingface/transformers';
|
| 14 |
|
| 15 |
// Load model and processor
|
| 16 |
const model_id = 'onnx-community/pyannote-segmentation-3.0';
|