Add instructions for running the examples.
This commit is contained in:
parent
f1436c0d7b
commit
6387ebed5f
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -3,6 +3,17 @@
|
|||
Rust bindings to [whisper.cpp](https://github.com/ggerganov/whisper.cpp/)
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
git clone --recursive https://github.com/tazz4843/whisper-rs.git
|
||||
|
||||
cd whisper-rs
|
||||
|
||||
cargo run --example basic_use
|
||||
|
||||
cargo run --example audio_transcription
|
||||
```
|
||||
|
||||
```rust
|
||||
use whisper_rs::{WhisperContext, FullParams, SamplingStrategy};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue