Commit graph

40 commits

Author SHA1 Message Date
Niko
4ed94c2831
Fix up audio_transcription example 2025-08-15 21:14:11 -07:00
Niko
68fabfc95d
Add comments to basic_use example and fix README example 2025-08-13 01:40:43 -07:00
Niko
527bb059dc
Fix up full_usage example 2025-08-02 19:47:58 -07:00
Niko
a9dea32c81
Fix up audio_transcription example 2025-08-02 19:42:32 -07:00
Niko
3d70621a51
Fix up basic_use example 2025-08-02 19:39:05 -07:00
thewh1teagle
5c46b0a667
feat: improve basic example 2024-09-14 00:38:00 +03:00
arizhih
ce17f9a441 Re-export whisper_ahead 2024-05-18 00:06:53 +02:00
arizhih
0c8798c986 Use proper lifetimes, add DTW usage example 2024-05-17 14:47:58 +02:00
arizhih
482860d0d6 Pass aheads by reference, add dtw_mem_size param, rustfmt 2024-05-17 02:05:12 +02:00
arizhih
da6b410439 Add safe wrapper for raw dtw parameters 2024-05-16 18:58:48 +02:00
jiahua
f30d0ea0a1 fix: rustfmt 2024-04-26 16:23:32 +08:00
jiahua
c1a37751dd fix(example): WhisperError::InputOutputLengthMismatch in example 2024-04-24 08:52:57 +08:00
thewh1teagle
b94f2348dc
fix: transcription example compile errors 2024-04-15 01:12:49 +03:00
Niko
d9e8713be7
Fix examples 2024-04-06 11:38:01 -06:00
Chris Raethke
9aa2429606 Add examples for set_initial_prompt(...) 2023-11-27 11:53:19 +10:00
Chris Raethke
81e2b0476b Cargo fmt 2023-11-21 06:33:02 +10:00
Chris Raethke
8d462f5dd3 Expose WhisperContextParameters and update examples 2023-11-20 20:42:34 +10:00
Marcin Mielniczuk
ddabeb4c0b Add a rustified progress callback. 2023-08-11 15:10:50 +02:00
Zero
0859b41191
cargo fmt 2023-05-05 22:48:20 -06:00
Zero
6e4c66db0a
add timer for how long transcription takes 2023-05-05 22:48:12 -06:00
Zero
e00568e801
reword error message in example and remove is_file check 2023-05-05 22:47:46 -06:00
Yuniru Yuni
ef4b9f0630
migrate state method into state object 2023-04-30 09:09:29 +09:00
yuniruyuni
20c57dc887 fix: full_usage sample build error 2023-04-26 14:48:21 +09:00
yuniruyuni
8feebfb953 fix: audio_transcription sample build error 2023-04-26 14:47:15 +09:00
yuniruyuni
af4bacf80b fix: basic_use sample build error 2023-04-26 14:46:10 +09:00
Zero
13d44e5881
add changes from whisper.cpp update 2023-04-17 17:57:00 -06:00
James Bruska
d8271e31d0 Changed convert_stereo_to_mono_audio to return a Result 2023-03-27 11:49:13 -04:00
James Bruska
30ff41989b Ran cargo fmt 2023-03-27 10:35:23 -04:00
James Bruska
445a072bda Turned off warning for unused variable in audio_transcription example 2023-03-23 13:46:36 -04:00
James Bruska
05d072ffc4 Updated Cargo.toml and audio_transcription example to not fail cargo test 2023-03-23 12:38:54 -04:00
0/0
406fcae694
add another example 2023-02-08 16:25:17 -07:00
0/0
7350453ffe
Merge remote-tracking branch 'origin/master' 2023-02-08 16:19:12 -07:00
0/0
39b822ae2c
update example to latest usage 2023-02-08 14:46:04 -07:00
Lucas Zanek
1562644a8d add information about how to run the example 2023-01-03 23:36:02 -03:00
Lucas Zanek
a09ed82675 added logic to write the result in a txt file 2023-01-03 22:48:35 -03:00
Lucas Zanek
748709ec62 audio transcription example 2023-01-03 22:34:18 -03:00
reisub0
bc51b4d4fc
error[E0599]: no method named set_print_special_tokens found for struct FullParams in the current scope
--> examples/basic_use.rs:23:12
   |
23 |     params.set_print_special_tokens(false);
   |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_print_special`

For more information about this error, try `rustc --explain E0599`.
2022-12-24 22:49:57 +01:00
0/0
e28baf78d4
fix broken example from breaking changes 2022-10-28 19:45:23 -06:00
0/0
82c83c860f
rename library to whisper-rs 2022-10-09 20:48:00 -06:00
0/0
e12122a6ed
Initial commit 2022-10-09 20:17:31 -06:00