fix import
Browse files
index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected]';
|
2 |
-
import { AutoModel, AutoTokenizer } from '
|
3 |
|
4 |
// Since we will download the model from the Hugging Face Hub, we can skip the local model check
|
5 |
env.allowLocalModels = false;
|
|
|
1 |
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/[email protected]';
|
2 |
+
import { AutoModel, AutoTokenizer } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.10.1';
|
3 |
|
4 |
// Since we will download the model from the Hugging Face Hub, we can skip the local model check
|
5 |
env.allowLocalModels = false;
|