Initial steps to migrate to the whisper/sherpa setup..
Still missing majot changes to the TestModelActivity.kt file which are coming next...
This commit is contained in:
@@ -47,12 +47,17 @@ dependencies {
|
||||
androidTestImplementation(libs.androidx.espresso.core)
|
||||
|
||||
// 1. The "Brain": Vosk Offline Speech Recognition
|
||||
implementation("com.alphacephei:vosk-android:0.3.47")
|
||||
//implementation("com.alphacephei:vosk-android:0.3.47") - removed as part of the migration to whisper
|
||||
|
||||
// (Optional) Helper for memory management if needed later
|
||||
// Removed the following as it was listed as optional and it did cause errors -
|
||||
// so to avoid a whole list of duplicate class found errors - this is already required via the VOSK libraries
|
||||
// implementation("net.java.dev.jna:jna:5.13.0")
|
||||
|
||||
// New Whisper include...
|
||||
// implementation("com.k2fsa.sherpa.onnx:sherpa-onnx:1.12.23") // The engine
|
||||
implementation("com.github.k2-fsa:sherpa-onnx:v1.12.23")
|
||||
|
||||
// 2. The "Mouth": USB Serial Driver for Android
|
||||
implementation("com.github.mik3y:usb-serial-for-android:3.7.0")
|
||||
}
|
||||
Reference in New Issue
Block a user