Commit graph

137 commits

Author SHA1 Message Date
Jonathan Soo
c2372dbae9 Add token_to_cstr 2023-05-04 19:35:37 -04:00
Jonathan Soo
44e34ba301 Add test using tiny.en model behind a feature flag 2023-05-04 19:18:51 -04:00
Jonathan Soo
908e96f9da Convert text to CString 2023-05-04 19:17:29 -04:00
Yuniru Yuni
ef4b9f0630
migrate state method into state object 2023-04-30 09:09:29 +09:00
yuniruyuni
473b19cf22 fix: public WhisperState from lib 2023-04-26 11:54:58 +09:00
yuni
9b57c8ef3f
fix: typo
Co-authored-by: 0/0 <zero@imaskeleton.me>
2023-04-25 23:19:00 +09:00
Yuniru Yuni
4e334f4baa
docs: delete id arguments from create_state description 2023-04-25 23:04:54 +09:00
Yuniru Yuni
3a1fd683d6
refactor: delete errors for state-id
because it's already deleted from state management.
2023-04-25 22:59:13 +09:00
Yuniru Yuni
6169229e60
refactor: delete map for State and expose struct with lifetime 2023-04-25 22:49:17 +09:00
Yuniru Yuni
9c5aa63e4b
impl Error to improve compatibility
impl std::error::Error for WhisperError to improve error compatibility.
std::error::Error is trait for erorrs and it's standard.
and some of error handling libraries requires Error implemented struct for Result.
for examples: error-stack
2023-04-18 15:54:52 +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
bad88c38d8 Change comments for convert_stereo_to_mono_audio functions 2023-03-26 11:44:24 -04:00
James Bruska
1873288db0 Fixed odd value length bug in convert_stereo_to_mono_audio functions 2023-03-23 13:44:53 -04:00
James Bruska
31260475dc Change assert_stereo_to_mono_simd test to exibit issue of odd length value 2023-03-23 12:41:26 -04:00
0/0
56bef8c671
remove outdated doc comment 2023-02-08 14:44:57 -07:00
0/0
ad9146aa91
add SamplingStrategy default 2023-02-08 14:44:36 -07:00
0/0
edac524756
update to latest whisper.cpp 2023-02-07 10:04:10 -07:00
0/0
0da39195c0
disable clippy::uninlined_format_args 2023-02-06 18:59:38 -07:00
0/0
0c84524b6d
remove unused import 2022-12-14 17:22:08 -07:00
0/0
4da16a45a3
handle error codes more often 2022-12-14 17:21:10 -07:00
0/0
f810c63a39
add new params 2022-12-14 17:11:57 -07:00
0/0
491eeeadde
don't forget import 2022-12-14 17:11:22 -07:00
0/0
ce734cca04
add WhisperTokenData type 2022-12-14 17:11:09 -07:00
0/0
cc05ecfd42
add whisper_full_get_token_data 2022-12-14 17:10:53 -07:00
0/0
eda8559cc8
add whisper_reset_timings 2022-12-14 17:10:21 -07:00
0/0
aa287e2ea6
inline functions that just call directly down to others 2022-12-14 17:10:01 -07:00
0/0
b4459e5e53
remove useless error handling 2022-12-14 17:08:37 -07:00
0/0
462f6c7b13
change return types 2022-12-14 17:04:38 -07:00
0/0
8317096daa
remove extra bracket 2022-12-14 17:03:44 -07:00
Ephraim Kunz
d3825debff Fix print_system_info return value 2022-11-22 10:10:03 -07:00
Sho Mitarai
b4420ad1ba add conversion of &str to CString in set_language method 2022-11-17 10:50:15 +09:00
0/0
1632ac11fe
update upstream whisper.cpp and fix breaking changes 2022-10-28 19:37:42 -06:00
0/0
d2e48983b9
add Send and Sync impls 2022-10-10 17:37:53 -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