0.2.4 • Published 13 days ago
detypify-service v0.2.4
Detypify Service
Let you integrate Detypify into your own projects easily.
Getting Started
Install it as a dependency.
$ bun add detypify-service
This javascript module has only 2 exports:
ortEnv
: Re-export ofonnxruntime-web.env
. Used to configure onnxruntime.Note: ONNX Runtime Web will request wasm files on the fly. Default URLs are unlikely to match yours. You might need to configure
ortEnv.wasm.wasmPaths
.Detypify
: The main type.Use
Detypify.create()
to create an instance.Use
instance.candidates(strokes, k)
to inference topk
candidates.
Vite is recommended. I'm not sure whether other build tools can resolve bundled assets or not.
0.2.3-beta.4
13 days ago
0.2.3-beta.5
13 days ago
0.2.3-beta.6
13 days ago
0.2.4
13 days ago
0.2.3-beta.3
15 days ago
0.2.3-beta.2
15 days ago
0.2.3-beta.1
15 days ago