Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ import { pipeline } from '@huggingface/transformers';
|
|
18 |
|
19 |
// Create an image classification pipeline
|
20 |
const classifier = await pipeline('image-classification', 'Xenova/mobilevit-x-small', {
|
21 |
-
|
22 |
});
|
23 |
|
24 |
// Classify an image
|
|
|
18 |
|
19 |
// Create an image classification pipeline
|
20 |
const classifier = await pipeline('image-classification', 'Xenova/mobilevit-x-small', {
|
21 |
+
dtype: "fp32",
|
22 |
});
|
23 |
|
24 |
// Classify an image
|