We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef3ce0 commit 8f9b3bfCopy full SHA for 8f9b3bf
2 files changed
src/features/spam-demo/SpamDemo.tsx
@@ -8,7 +8,7 @@ let sessionFull : any = null;
8
const mergesPath : string = "public/vocab/merges_all_18k.txt";
9
const vocabPath : string = "public/vocab/vocab_all_18k.json";
10
const modelPath : string = "public/onnx/mail_180226_02.onnx";
11
-const wasmPath: string = '/public/wasm/onnxruntime/';
+const wasmPath: string = '/node_modules/onnxruntime-web/dist/';
12
13
ort.env.wasm.wasmPaths = wasmPath;
14
const LENTOKENS = 128;
0 commit comments