Update main.cpp

pull/444/head
Alex Bacart 1 year ago committed by GitHub
parent 252e508d85
commit d8924fdcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -350,7 +350,7 @@ bool output_csv(struct whisper_context * ctx, const char * fname) {
const int64_t t1 = whisper_full_get_segment_t1(ctx, i);
//need to multiply times returned from whisper_full_get_segment_t{0,1}() by 10 to get milliseconds.
fout << 10 * t0 << "," << 10 * t1 << ",\"" << text << "\"\n";
fout << 10 * t0 << ", " << 10 * t1 << ", \"" << text << "\"\n";
}
return true;

Loading…
Cancel
Save