File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed
Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ usage: pwcpp [-h] [-m MODEL] [--version] [--processors PROCESSORS] [-otxt] [-ovt
180180 [--translate TRANSLATE] [--no_context NO_CONTEXT] [--single_segment SINGLE_SEGMENT] [--print_special PRINT_SPECIAL]
181181 [--print_progress PRINT_PROGRESS] [--print_realtime PRINT_REALTIME] [--print_timestamps PRINT_TIMESTAMPS]
182182 [--token_timestamps TOKEN_TIMESTAMPS] [--thold_pt THOLD_PT] [--thold_ptsum THOLD_PTSUM] [--max_len MAX_LEN]
183- [--split_on_word SPLIT_ON_WORD] [--max_tokens MAX_TOKENS] [--speed_up SPEED_UP] [-- audio_ctx AUDIO_CTX]
183+ [--split_on_word SPLIT_ON_WORD] [--max_tokens MAX_TOKENS] [--audio_ctx AUDIO_CTX]
184184 [--prompt_tokens PROMPT_TOKENS] [--prompt_n_tokens PROMPT_N_TOKENS] [--language LANGUAGE] [--suppress_blank SUPPRESS_BLANK]
185185 [--suppress_non_speech_tokens SUPPRESS_NON_SPEECH_TOKENS] [--temperature TEMPERATURE] [--max_initial_ts MAX_INITIAL_TS]
186186 [--length_penalty LENGTH_PENALTY] [--temperature_inc TEMPERATURE_INC] [--entropy_thold ENTROPY_THOLD]
@@ -234,7 +234,6 @@ options:
234234 split on word rather than on token (when used with max_len)
235235 --max_tokens MAX_TOKENS
236236 max tokens per segment (0 = no limit)
237- --speed_up SPEED_UP speed-up the audio by 2x using Phase Vocoder
238237 --audio_ctx AUDIO_CTX
239238 overwrite the audio context size (0 = use default)
240239 --prompt_tokens PROMPT_TOKENS
Original file line number Diff line number Diff line change 154154 'options' : None ,
155155 'default' : 0
156156 },
157- # [EXPERIMENTAL] speed-up techniques
158- # note: these can significantly reduce the quality of the output
159- 'speed_up' : {
160- 'type' : bool ,
161- 'description' : "speed-up the audio by 2x using Phase Vocoder" ,
162- 'options' : None ,
163- 'default' : False
164- },
165157 'audio_ctx' : {
166158 'type' : int ,
167159 'description' : "overwrite the audio context size (0 = use default)" ,
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class Model:
5252 Example usage.
5353 ```python
5454 model = Model('base.en', n_threads=6)
55- segments = model.transcribe('file.mp3', speed_up=True )
55+ segments = model.transcribe('file.mp3')
5656 for segment in segments:
5757 print(segment.text)
5858 ```
Original file line number Diff line number Diff line change @@ -490,7 +490,6 @@ PYBIND11_MODULE(_pywhispercpp, m) {
490490 .def_readwrite (" max_len" , &whisper_full_params::max_len)
491491 .def_readwrite (" split_on_word" , &whisper_full_params::split_on_word)
492492 .def_readwrite (" max_tokens" , &whisper_full_params::max_tokens)
493- .def_readwrite (" speed_up" , &whisper_full_params::speed_up)
494493 .def_readwrite (" audio_ctx" , &whisper_full_params::audio_ctx)
495494 .def_readwrite (" initial_prompt" , &whisper_full_params::initial_prompt)
496495 .def_readwrite (" prompt_tokens" , &whisper_full_params::prompt_tokens)
You can’t perform that action at this time.
0 commit comments