Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ npm i @xenova/transformers
|
|
14 |
**Example:** Image classification w/ `Xenova/dinov2-small-imagenet1k-1-layer`.
|
15 |
|
16 |
```javascript
|
17 |
-
import { pipeline} from '@xenova/transformers';
|
18 |
|
19 |
// Create image classification pipeline
|
20 |
const classifier = await pipeline('image-classification', 'Xenova/dinov2-small-imagenet1k-1-layer');
|
|
|
14 |
**Example:** Image classification w/ `Xenova/dinov2-small-imagenet1k-1-layer`.
|
15 |
|
16 |
```javascript
|
17 |
+
import { pipeline } from '@xenova/transformers';
|
18 |
|
19 |
// Create image classification pipeline
|
20 |
const classifier = await pipeline('image-classification', 'Xenova/dinov2-small-imagenet1k-1-layer');
|