Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ npm i @xenova/transformers
|
|
14 |
|
15 |
**Example:** Perform audio classification with `Xenova/ast-finetuned-audioset-10-10-0.4593` and return top 4 results.
|
16 |
```js
|
17 |
-
import { pipeline } from '@xenova/transformers'
|
18 |
|
19 |
// Create an audio classification pipeline
|
20 |
const classifier = await pipeline('audio-classification', 'Xenova/ast-finetuned-audioset-10-10-0.4593');
|
|
|
14 |
|
15 |
**Example:** Perform audio classification with `Xenova/ast-finetuned-audioset-10-10-0.4593` and return top 4 results.
|
16 |
```js
|
17 |
+
import { pipeline } from '@xenova/transformers';
|
18 |
|
19 |
// Create an audio classification pipeline
|
20 |
const classifier = await pipeline('audio-classification', 'Xenova/ast-finetuned-audioset-10-10-0.4593');
|