mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-30 01:39:04 +01:00
Update main.cpp
This commit is contained in:
parent
73a2a20182
commit
252e508d85
@ -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