Update index.js
Browse files
index.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
-
import { env, AutoTokenizer, RawImage } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers';
|
2 |
import { getModelJSON } from "https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.2/src/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/onnxruntime-web@1.20.0/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 { env, AutoTokenizer, RawImage, Tensor } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers';
|
2 |
import { getModelJSON } from "https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.2/src/utils/hub.js";
|
|
|
3 |
import * as ort from "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.20.0/dist/ort.webgpu.mjs";
|
4 |
|
5 |
// Since we will download the model from the Hugging Face Hub, we can skip the local model check
|