fonnx 0.1.2
fonnx: ^0.1.2 copied to clipboard
ONNX model inference for Dart and Flutter on every platform: ONNX Runtime through FFI on native, Web Workers on the web. Embeddings, Whisper speech to text, Kokoro text to speech, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fonnxThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fonnx: ^0.1.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fonnx/fonnx.dart';