Skip to content

Commit

Permalink
Enable local transcription with faster-whisper
Browse files Browse the repository at this point in the history
This change modifies the command-line interface of the application by updating the description of the "-l" flag to reflect the use of the faster-whisper tool for local transcription. This change improves the clarity of the flag's purpose and ensures accurate user understanding. The previous description referred to whisper.cpp, which caused confusion as it is not the correct tool. The flag's functionality remains the same.
  • Loading branch information
swiftraccoon committed Nov 26, 2023
1 parent c8d9c1d commit f125d5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,8 @@ int main(int argc, char *argv[])
CLI::App app{"transcribe and process SDRTrunk mp3 recordings"};
std::string configPath = DEFAULT_CONFIG_PATH;
app.add_option("-c,--config", configPath, "Configuration path (Optional, default is './config.yaml')");
app.add_flag("-l,--local", gLocalFlag, "Set this to enable local transcription via whisper.cpp");
app.add_flag("-l,--local", gLocalFlag, "Set this to enable local transcription via faster-whisper");
CLI11_PARSE(app, argc, argv);
// Disable --local even if it's passed. See #13 for why
// bool gLocalFlag = false;

auto configOpt = loadConfig(configPath);
if (!configOpt.has_value())
Expand Down

0 comments on commit f125d5d

Please sign in to comment.