whisper_flutter 0.0.4 whisper_flutter: ^0.0.4 copied to clipboard
whisper.cpp (from @ggerganov) implementation using ffi, a library for recognition audio to text without heavy gpu, support server side and client side.
Whisper Flutter #
Install library #
flutter pub add whisper_flutter
import library #
import 'package:whisper_flutter/whisper_flutter.dart';
Bagaimana Cara mengcompile whisper.cpp ke shared lirbary? #
Anda tidak perlu ribet mengcompile karena sudah automatis compile saat anda build aplikasi flutter
Quickstart #
Whisper whisper = Whisper();
var res = await whisper.request(
whisperLib: "libwhisper.so",
whisperRequest: WhisperRequest.fromWavFile(
audio: File(audio),
model: File(model),
),
);