pdufour commited on
Commit
a03fb79
·
verified ·
1 Parent(s): 5837736

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -3
index.js CHANGED
@@ -1,6 +1,4 @@
1
- import { pipeline, env, AutoTokenizer, RawImage } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers';
2
- import { getModelJSON } from "https://cdn.jsdelivr.net/npm/@huggingface/transformers/utils/hub.js";
3
- import { Tensor } from "https://cdn.jsdelivr.net/npm/@huggingface/transformer/utils/tensor.js";
4
  import * as ort from "https://cdn.jsdelivr.net/npm/[email protected]/dist/ort.webgpu.mjs";
5
 
6
  // Since we will download the model from the Hugging Face Hub, we can skip the local model check
 
1
+ import { pipeline, env, AutoTokenizer, RawImage, Tensor, getModelJSON } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers';
 
 
2
  import * as ort from "https://cdn.jsdelivr.net/npm/[email protected]/dist/ort.webgpu.mjs";
3
 
4
  // Since we will download the model from the Hugging Face Hub, we can skip the local model check