Update index.js
Browse files
index.js
CHANGED
@@ -281,7 +281,7 @@ export async function imageTextToText(
|
|
281 |
if (!ortSessionE) {
|
282 |
ortSessionE = await ort.InferenceSession.create(
|
283 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_E_${QUANT}.onnx`),
|
284 |
-
DEFAULT_SESSION_OPTIONS,
|
285 |
);
|
286 |
}
|
287 |
|
|
|
281 |
if (!ortSessionE) {
|
282 |
ortSessionE = await ort.InferenceSession.create(
|
283 |
await getModelFile(ONNX_MODEL, `onnx/QwenVL_E_${QUANT}.onnx`),
|
284 |
+
{...DEFAULT_SESSION_OPTIONS, executionProviders: ["wasm"]},
|
285 |
);
|
286 |
}
|
287 |
|