|
|
|
|
|
by BrutalCoding
437 days ago
|
|
I used FFI in the past (C header) but sherpa-onnx is available on pub.dev these days. Look for "sherpa_onnx". You can also point sherpa_onnx in your pubspec.yaml file to a local dir (after cloning the repo somewhere on your file system) or point to a specific git commit hash, and don't forget to specify the path because its not the root of the repo. Here's a link to the dir of the flutter package https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter. The downloads of compatible models can be found at their GitHub Releases but tbh it's a bit of a strange setup IMO. Here's the page for TTS models for example: https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-model... That same "release" (page) gets updated from time to time with new models. Use a bookmark :p - @csukuangfj, thanks for sharing the hard work. Nice to see you here. |
|