Skip to content

Commit

Permalink
#34 README
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Feb 5, 2024
1 parent 1e7f0b7 commit 1443570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ path <- system.file(package = "audio.whisper", "repo", "ggml-tiny.en-q5_1.bin")
model <- whisper(path)
```

- If you have a GPU (e.g. Mac with Metal and [installed audio.whisper as indicated below](#speed-of-transcribing)), you can use it by specifying: `model <- whisper("medium", use_gpu = TRUE)`, otherwise you will use your CPU.

**Transcribe a `.wav` audio file**
- using `predict(model, "path/to/audio/file.wav")` and
- provide a language which the audio file is in (e.g. en, nl, fr, de, es, zh, ru, jp)
Expand Down

0 comments on commit 1443570

Please sign in to comment.