mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2023-11-04 02:52:44 +03:00
stream : "-kc" now enables context keeping from previous segment (#90)
By default, the context keeping is disabled
This commit is contained in:
@@ -208,7 +208,8 @@ extern "C" {
|
||||
bool speed_up; // speed-up the audio by 2x using Phase Vocoder
|
||||
int audio_ctx; // overwrite the audio context size (0 = use default)
|
||||
|
||||
// std::vector<whisper_token>: tokens to provide the whisper model as initial prompt
|
||||
// tokens to provide the whisper model as initial prompt
|
||||
// these are prepended to any existing text context from a previous call
|
||||
const whisper_token * prompt_tokens;
|
||||
int prompt_n_tokens;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user