andreer commited on
Commit
1bd0309
·
verified ·
1 Parent(s): 81e877b

fix import

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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 '@xenova/transformers';
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;