Skip to content

Update README.md #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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