-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
Hey can you allow a way to load the wasm requirements?
Also to load the model locally without the cdn
Effectively I am trying to get a Electron app put together.
import { env } from '@huggingface/transformers'
very similar to this
env.backends.onnx.wasm.wasmPaths = {
'ort-wasm-simd-threaded.mjs': ${base}ort-wasm-simd-threaded.mjs,
'ort-wasm-simd-threaded.wasm': ${base}ort-wasm-simd-threaded.wasm,
'ort-wasm-simd-threaded.jsep.mjs': ${base}ort-wasm-simd-threaded.jsep.mjs,
'ort-wasm-simd-threaded.jsep.wasm': ${base}ort-wasm-simd-threaded.jsep.wasm
}
Metadata
Metadata
Assignees
Labels
No labels