Add newline per segment for text output

pull/254/head
Lexevolution 3 years ago
parent 832b4f34c9
commit 8aa8bcedf5

@ -266,7 +266,7 @@ bool output_txt(struct whisper_context * ctx, const char * fname) {
const int n_segments = whisper_full_n_segments(ctx);
for (int i = 0; i < n_segments; ++i) {
const char * text = whisper_full_get_segment_text(ctx, i);
fout << text;
fout << text << "\n";
}
return true;

Loading…
Cancel
Save