Update README.md
Browse files
README.md
CHANGED
@@ -13,6 +13,8 @@ npm i @xenova/transformers
|
|
13 |
|
14 |
**Example:** Perform image classification with `Xenova/mobilevit-x-small`
|
15 |
```js
|
|
|
|
|
16 |
// Create an image classification pipeline
|
17 |
const classifier = await pipeline('image-classification', 'Xenova/mobilevit-x-small', {
|
18 |
quantized: false,
|
|
|
13 |
|
14 |
**Example:** Perform image classification with `Xenova/mobilevit-x-small`
|
15 |
```js
|
16 |
+
import { pipeline } from '@xenova/transformers';
|
17 |
+
|
18 |
// Create an image classification pipeline
|
19 |
const classifier = await pipeline('image-classification', 'Xenova/mobilevit-x-small', {
|
20 |
quantized: false,
|