stream : add "single_segment" option

Force the entire audio chunk to be transcribed into a single segment
This commit is contained in:
Georgi Gerganov
2022-11-20 20:45:10 +02:00
parent c058aaf22e
commit d351771a4b
3 changed files with 8 additions and 4 deletions

View File

@@ -194,6 +194,7 @@ extern "C" {
bool translate;
bool no_context;
bool single_segment; // force single segment output (useful for streaming)
bool print_special_tokens;
bool print_progress;
bool print_realtime;