Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ dependencies {
implementation("com.argmaxinc:whisperkit:0.3.2") // Check badge above for latest version

// 2. QNN dependencies for hardware acceleration
implementation("com.qualcomm.qnn:qnn-runtime:2.34.0")
implementation("com.qualcomm.qnn:qnn-litert-delegate:2.34.0")
implementation("com.qualcomm.qti:qnn-runtime:2.34.0")
implementation("com.qualcomm.qti:qnn-litert-delegate:2.34.0")
}
```

Expand Down Expand Up @@ -75,7 +75,7 @@ class YourActivity : AppCompatActivity() {
// Initialize WhisperKit
// Note: Always use applicationContext to avoid memory leaks and ensure proper lifecycle management
whisperKit = WhisperKit.Builder()
.setModel(WhisperKit.OPENAI_TINY_EN)
.setModel(WhisperKit.Builder.OPENAI_TINY_EN)
.setApplicationContext(applicationContext)
.setCallback { what, result ->
// Handle transcription output
Expand Down