mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-06 05:19:36 +01:00
Update main.cpp
This commit is contained in:
parent
252e508d85
commit
d8924fdcfe
@ -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…
Reference in New Issue
Block a user