Update index.js
Browse files
index.js
CHANGED
@@ -51,7 +51,8 @@ async function initializeSessions() {
|
|
51 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_D_${QUANT}.onnx`),
|
52 |
{
|
53 |
executionProviders: ["webgpu"],
|
54 |
-
}
|
|
|
55 |
|
56 |
ortSessionE = await ort.InferenceSession.create(
|
57 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_E_${QUANT}.onnx`),
|
@@ -59,7 +60,6 @@ async function initializeSessions() {
|
|
59 |
executionProviders: ["wasm"],
|
60 |
},
|
61 |
);
|
62 |
-
);
|
63 |
|
64 |
|
65 |
config = (await getModelJSON(BASE_MODEL, "config.json"));
|
|
|
51 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_D_${QUANT}.onnx`),
|
52 |
{
|
53 |
executionProviders: ["webgpu"],
|
54 |
+
}
|
55 |
+
);
|
56 |
|
57 |
ortSessionE = await ort.InferenceSession.create(
|
58 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_E_${QUANT}.onnx`),
|
|
|
60 |
executionProviders: ["wasm"],
|
61 |
},
|
62 |
);
|
|
|
63 |
|
64 |
|
65 |
config = (await getModelJSON(BASE_MODEL, "config.json"));
|