Open lightningRalf opened 1 year ago
the -f option is incomplete in this example. fname_out is missing something like this, found in the stream example:
fname_out
stream
https://github.com/ggerganov/whisper.cpp/blob/5b9e59bc07dd76320354f2af6be29f16dbcb21e7/examples/stream/stream.cpp#LL202C1-L209C6
std::ofstream fout; if (params.fname_out.length() > 0) { fout.open(params.fname_out); if (!fout.is_open()) { fprintf(stderr, "%s: failed to open output file '%s'!\n", __func__, params.fname_out.c_str()); return 1; } }
the -f option is incomplete in this example.
fname_out
is missing something like this, found in thestream
example:https://github.com/ggerganov/whisper.cpp/blob/5b9e59bc07dd76320354f2af6be29f16dbcb21e7/examples/stream/stream.cpp#LL202C1-L209C6