Update README.md
Browse files
README.md
CHANGED
|
@@ -71,7 +71,7 @@ Usage with Transformers.js
|
|
| 71 |
```js
|
| 72 |
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.1';
|
| 73 |
|
| 74 |
-
// Since we will download the model from
|
| 75 |
env.allowLocalModels = false;
|
| 76 |
|
| 77 |
// Load the image classification model
|
|
|
|
| 71 |
```js
|
| 72 |
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.1';
|
| 73 |
|
| 74 |
+
// Since we will download the model from HuggingFace Hub, we can skip the local model check
|
| 75 |
env.allowLocalModels = false;
|
| 76 |
|
| 77 |
// Load the image classification model
|