Commit Graph

69 Commits

Author SHA1 Message Date
lightmare
7b6fa0d819 release 1.2.0 2023-03-06 08:48:40 +00:00
lightmare
cc9c123251 Added new extraction and trimming functionality
Changes from https://github.com/iantanwx/whispercpp.py:
- added `transcribe_segment`, `extract_segment` and `load_audio_segment`
- use `ffmpeg.Error`
Other:
- added `whisper_full_lang_id`
- improved timestamps checking
2023-03-06 08:47:23 +00:00
lightmare
2a4f9b3e40 release 1.1.0 2023-03-03 18:31:53 +00:00
lightmare
d6c4748424 Clarified documentation 2023-03-02 18:13:32 +00:00
lightmare
d14f1b6c25 whisper.cpp v1.2.1 2023-03-02 18:10:36 +00:00
lightmare
d5eb133526 Fixed print_system_info 2023-02-24 19:18:54 +00:00
lightmare
5a4f948785 Added list_languages function 2023-02-23 21:39:05 +00:00
lightmare
b0795baa43 Added token_timestamps and print_timestamps params 2023-02-23 10:16:28 +00:00
lightmare
12340d769f Added extract_text_and_timestamps method 2023-02-18 23:03:51 +00:00
lightmare
765c02ec87 Fixed docstring 2023-02-18 23:01:15 +00:00
lightmare
2854cdfbe3 Fixed n_threads param 2023-02-18 23:00:47 +00:00
lightmare
af035ea355 init
Changes made (not exhaustive):
- changed defaults
- whisper.cpp submodule set to 1.2.0
- removed `requests` dependency
- models dir can be changed in constructor
- added support for setting params
- added back support for `large-v1` model
- added support for english-only models
2023-02-18 22:59:42 +00:00
Luke Southam
e2581c8aad
Merge pull request #9 from rlrs/main
Fixed wheel builds and model downloads
2023-02-13 09:00:58 +00:00
Rasmus Larsen
0f60062097 add back params.language 2023-01-30 17:59:42 +01:00
Rasmus Larsen
4e4258a4b5 Merge remote-tracking branch 'upstream/main' 2023-01-30 17:55:42 +01:00
Luke Southam
d8c0617b0e
Merge pull request #7 from boolemancer/windows_fix
Fix a dangling pointer to the input audio data
2023-01-30 16:44:06 +00:00
Luke Southam
3ca3bc5745
Merge branch 'main' into windows_fix 2023-01-30 16:43:54 +00:00
Rasmus Larsen
cf5992862a fix wheel build? 2023-01-30 17:39:34 +01:00
Rasmus Larsen
4526cce0ff use a more standard model storage path, and make the directory if doesn't exist 2023-01-30 17:30:18 +01:00
Rasmus Larsen
5157b341a0 fix wheel build 2023-01-29 21:15:09 +01:00
Luke Southam
8699de6106
Merge pull request #5 from kingjan1999/patch-1
Fix wrong model key in __init__
2023-01-27 15:38:35 +00:00
boolemancer
d838c5ee73 Fix a dangling pointer to the input audio data 2023-01-27 02:28:34 -08:00
Jan Beckmann
6b93f9aa85
Fix wrong model key in __init__
7be71f8fe7 changed the MODELS dict to download the models from HuggingFace. It also changed the keys used for the dict, but didn't change the way the keys are derived from the model name.
2022-12-26 14:04:58 +01:00
Luke Southam
275783f323
Update whispercpp.pyx 2022-12-25 06:53:20 +00:00
Luke Southam
aa51bbd3e1
Fix model_exists 2022-12-25 06:52:48 +00:00
Luke Southam
07e194bed2
Explicit C11 2022-12-25 06:48:56 +00:00
Luke Southam
7be71f8fe7
Fixes #2 - Hugging Face models can be downloaded without account! 2022-12-25 06:45:25 +00:00
Robbie Southam
3c0c66056f updated submodule 2022-12-18 22:28:08 +00:00
Luke Southam
a1c29b52fa
Update whispercpp.pyx 2022-12-18 21:51:53 +00:00
Luke Southam
86fca83bcf
Update whispercpp.pyx 2022-12-18 21:42:59 +00:00
Luke Southam
64008a7d64
Update whispercpp.pyx 2022-12-16 01:11:18 +00:00
Luke Southam
c5f51d5b55
Update whispercpp.pyx 2022-12-16 01:06:51 +00:00
Luke Southam
4f1f2d1c0a
Update whispercpp.pyx 2022-12-16 01:00:00 +00:00
Luke Southam
e39c1649a8
Update whispercpp.pyx 2022-12-16 00:45:07 +00:00
Luke Southam
b4529314f6
Update whispercpp.pyx 2022-12-16 00:23:50 +00:00
Luke Southam
1e49c6627d
Update whispercpp.pyx 2022-12-14 17:12:39 +00:00
Luke Southam
a021ae79da
Update setup.py 2022-12-14 16:42:05 +00:00
Luke Southam
bf8d7bb3cc
Update setup.py 2022-12-14 16:41:31 +00:00
Luke Southam
b52111a092
Update setup.py 2022-12-14 16:26:51 +00:00
Luke Southam
29ff3387e3
Update setup.py 2022-12-14 16:24:17 +00:00
Luke Southam
879e0c9213
Update build_wheels.yml 2022-12-14 16:21:17 +00:00
Luke Southam
c27a576c51
Update build_wheels.yml 2022-12-14 16:20:19 +00:00
Luke Southam
66e8ce112b
Update build_wheels.yml 2022-12-14 16:15:22 +00:00
Luke Southam
7f456c2636
Update build_wheels.yml 2022-12-14 16:12:16 +00:00
Luke Southam
0de3f1e4c6
Update setup.py 2022-12-14 16:10:05 +00:00
Luke Southam
5bc789b998
Update build_wheels.yml 2022-12-14 15:45:09 +00:00
Luke Southam
7faa7219ac
Update and rename build_wheel.yml to build_wheels.yml 2022-12-14 15:43:51 +00:00
Luke Southam
278e175d9b
Create build_wheel.yml 2022-12-14 15:42:28 +00:00
Luke Southam
04812c7966
Create pyproject.toml 2022-12-12 18:22:49 +00:00
Luke Southam
f811ab84be
Update setup.py 2022-12-11 09:35:52 +00:00