Commit graph

148 commits

Author SHA1 Message Date
Niko
018447cc3a
Merge pull request #130 from thewh1teagle/feat/get-segment-text-lossy
feat: add get segment text lossy
2024-04-14 22:44:51 +00:00
thewh1teagle
56f59edeed
feat: add safe bindings to abort callback 2024-04-15 00:48:53 +03:00
thewh1teagle
f3c86de64f
format with cargo fmt 2024-04-15 00:39:09 +03:00
thewh1teagle
ee932caf3d
feat: add get segment text lossy 2024-04-09 18:08:44 +03:00
Niko
a9e060571a
Merge remote-tracking branch 'origin/master' 2024-04-06 11:38:35 -06:00
Niko
b9fdf149be
Fix unused warnings 2024-04-06 11:33:21 -06:00
Niko
7714a10f95
Add raw-api feature flag and document all flags 2024-04-06 11:27:31 -06:00
Niko
a325a937e5
Fix unused static issue 2024-04-06 11:10:01 -06:00
Niko
f4ea0d97e4
Add WhisperState::full_get_token_text_lossy to ignore invalid UTF-8, instead replacing it. 2024-04-06 11:03:40 -06:00
Wenqing Zong
a026af1281 Pass fmt check 2024-03-20 16:36:08 +00:00
Wenqing Zong
384ddd77a5 Add safe bindings for speaker diarization 2024-03-20 16:30:13 +00:00
Niko
41736c1f0f
Merge branch 'master' of github.com:/tazz4843/whisper-rs 2024-03-18 18:57:50 -06:00
Niko
2d583d1e7f
Fix clippy lints 2024-03-18 18:57:41 -06:00
Niko
8bc3a435f2
Merge branch 'master' into log-trampolines 2024-03-15 20:04:10 +00:00
Niko
ffd6196caa
Fix compile errors 2024-01-10 18:04:02 -07:00
Niko
31b5976b17
Add some logging utilities to capture whisper.cpp output 2024-01-09 17:38:28 -07:00
Niko
f3b155c44f
Update audio utilities 2024-01-09 17:32:04 -07:00
Niko
a04d16166a
Merge branch 'master' into fix/msys2-build 2024-01-09 01:54:19 +00:00
thewh1teagle
80755aab33 fix: accurate cfg attr per gnu and windows 2024-01-09 03:27:43 +02:00
Niko
bdf1862d5b
Fix doctests 2024-01-08 14:55:00 -07:00
Niko
249b7321c9
Remove SIMD functions
Benchmarking showed
that they were usually at least 2.5x slower on common platforms (x86_64),
and the maintenance overhead tracking nightly wasn't worth it.
2024-01-08 14:54:50 -07:00
thewh1teagle
3fe56418ad fix windows gnu build 2024-01-08 05:52:29 +02:00
Andrii Kotliar
e195c885a1 Add whisper_lang_str_full function to whisper-rs 2024-01-08 01:24:38 +01:00
Niko
937bc78f45
Fix clippy lints 2024-01-03 20:31:08 -07:00
Niko
5230735222
Fix possible segmentation fault 2024-01-03 20:26:08 -07:00
Chris Raethke
41d73af64c
Merge branch 'master' into add_initial_prompt_param 2023-11-27 12:57:18 +10:00
Chris Raethke
9aa2429606 Add examples for set_initial_prompt(...) 2023-11-27 11:53:19 +10:00
Chris Raethke
8c8a5d78d9 Add set_initial_prompt to WhisperParams 2023-11-27 11:15:57 +10:00
Chris Raethke
a07e27ed42 Update WhisperContextParameters to &mut to avoid borrow issues 2023-11-21 18:30:59 +10:00
Chris Raethke
ef7d037d75 Expose WhisperGrammar* from the lib 2023-11-21 18:30:08 +10:00
Chris Raethke
8d462f5dd3 Expose WhisperContextParameters and update examples 2023-11-20 20:42:34 +10:00
Niko
bd197a36f3
Fix windows build 2023-11-16 20:34:25 -07:00
Niko
8690d35deb
Update whisper.cpp to v1.5 and add all structs 2023-11-16 18:56:50 -07:00
Marcin Mielniczuk
99ebf2bea5 Add an OpenBLAS feature 2023-10-08 14:11:07 +02:00
Niko
4b45810dca
Update whisper.cpp 2023-10-06 21:49:40 -06:00
Niko
f2d528e3c1
Merge branch 'master' into whisper-8e46ba8 2023-10-06 21:09:58 -06:00
Niko
d6da605de1
Revert "Add OpenVINO support"
This reverts commit 5c140c14
2023-10-06 21:09:23 -06:00
Niko
078507576f
Fix clippy lint 2023-10-06 21:06:13 -06:00
Zero
749c18cfee
cargo fmt 2023-08-28 17:09:46 -06:00
Zero
6668c4e2aa
Add support for tdrz and debug mode 2023-08-28 17:04:38 -06:00
Zero
851fca36d7
Add new nosp token 2023-08-28 17:04:08 -06:00
Zero
5c140c14d4
Add OpenVINO support 2023-08-28 16:41:25 -06:00
Zero
66f8aaeb86
Update whisper.cpp to 8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40 2023-08-28 16:38:14 -06:00
0/0
3ca3a5deb6
Merge pull request #83 from marmistrz/ggml-bind
Safely expose some of the ggml_cpu_has... routines
2023-08-22 00:45:11 +00:00
Marcin Mielniczuk
0a85f8013a Safely expose some of the ggml_cpu_has... routines 2023-08-22 02:22:57 +02:00
travolin
bdfbeb6c60 Add access to segment text as bytes 2023-08-17 17:09:26 -07:00
Marcin Mielniczuk
0e74df12a9 Improve the docs 2023-08-11 22:22:33 +02:00
Marcin Mielniczuk
ddabeb4c0b Add a rustified progress callback. 2023-08-11 15:10:50 +02:00
fakecore
81e1466784 feat: expose whisper_rs_sys::{whisper_context,whisper_state} for callback function 2023-08-01 00:57:57 +08:00
Zero
912e5a778f
Merge remote-tracking branch 'origin/master' 2023-07-22 17:44:29 -06:00