Commit graph

306 commits

Author SHA1 Message Date
jiahua
9d978add9d refactor(state): create_state from whisper context wrapper 2024-04-25 15:33:06 +08:00
jiahua
74e83185bf refactor(state): remove lifetime binding from whisper context 2024-04-25 15:30:56 +08:00
jiahua
c1a37751dd fix(example): WhisperError::InputOutputLengthMismatch in example 2024-04-24 08:52:57 +08:00
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
Niko
094497a226
Merge pull request #136 from thewh1teagle/feat/abort-callback
feat: add safe bindings to abort callback
2024-04-14 22:44:16 +00:00
Niko
e81f90fce6
Merge pull request #137 from thewh1teagle/fix/transcription-example
fix: transcription example compile errors
2024-04-14 22:44:07 +00:00
Niko
3c288869d1
Merge pull request #133 from kartonrad/patch-1
Add more detailed build instructions for confused windows users
2024-04-14 22:13:52 +00:00
thewh1teagle
b94f2348dc
fix: transcription example compile errors 2024-04-15 01:12:49 +03: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
Kartonrad
cbc35f9b0c
Update BUILDING.md 2024-04-14 11:33:00 +02:00
Kartonrad
92483349be
Update BUILDING.md 2024-04-14 03:16:29 +02: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
d9e8713be7
Fix examples 2024-04-06 11:38:01 -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
Niko
a60a5b574f
Merge pull request #123 from WenqingZong/wenqing/speaker_diarization
Add safe bindings for speaker diarization
2024-03-20 16:53:48 +00:00
Niko
6226530f2b
Merge pull request #122 from XUJiahua/win-cuda
fix: LNK2019: unresolved external symbol cuGetErrorString
2024-03-20 16:37:18 +00:00
Wenqing Zong
a026af1281 Pass fmt check 2024-03-20 16:36:08 +00:00
Niko
2a7c86d2e9
Merge branch 'master' into win-cuda 2024-03-20 16:32:19 +00:00
Wenqing Zong
384ddd77a5 Add safe bindings for speaker diarization 2024-03-20 16:30:13 +00:00
littlegun
9dfb0b998e fix: LNK2019: unresolved external symbol cuGetErrorString 2024-03-19 17:22:14 +08: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
586c517c1c
Merge pull request #112 from tazz4843/log-trampolines
Add some logging utilities to capture whisper.cpp output
2024-03-15 20:07:22 +00:00
Niko
8bc3a435f2
Merge branch 'master' into log-trampolines 2024-03-15 20:04:10 +00:00
Niko
e7922d44bc
Merge pull request #113 from tazz4843/audio-util-update
Update audio utilities
2024-03-15 20:03:55 +00:00
Niko
ffd6196caa
Fix compile errors 2024-01-10 18:04:02 -07:00
Niko
49ef267bad
Remove simd feature 2024-01-10 17:59:30 -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
9861dfdb93
Merge pull request #110 from thewh1teagle/fix/msys2-build
fix windows gnu build
2024-01-09 03:51:19 +00: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
Niko
af8e638c59
Update bindings.rs 2024-01-08 14:41:14 -07:00
Niko
849f07cb45
Merge pull request #109 from Andreybest/master 2024-01-08 14:54:26 +00:00
Andrii Kotliar
b7a9b90604 Returned true old bindings 2024-01-08 11:30:40 +01:00
Andrii Kotliar
7d20c51808 Returned old bindings 2024-01-08 11:20:56 +01: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
Andrii Kotliar
22bf23a168 Update whisper.cpp version to 1.5.4 2024-01-08 00:29:13 +01:00
Niko
eee78dabaa
Merge pull request #107 from tazz4843/cmake-change-build-type
Change CMake build type based on Rust build type
2024-01-04 04:28:37 +00:00
Niko
134067b112
Merge branch 'master' into cmake-change-build-type 2024-01-04 03:40:37 +00:00
Niko
27042a42b9
Merge pull request #106 from tazz4843/fix-no-samples
Fix possible segmentation fault
2024-01-04 03:36:02 +00:00
Niko
937bc78f45
Fix clippy lints 2024-01-03 20:31:08 -07:00