pdufour commited on
Commit
9656440
·
verified ·
1 Parent(s): 6c47233

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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