Skip to content

Commit

Permalink
Improve whisperfile flag handling slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Aug 19, 2024
1 parent dc99002 commit 8a5a724
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions whisper.cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ static bool whisper_params_parse(int argc, char ** argv, whisper_params & params

if (arg == "--log-disable") {
FLAG_log_disable = true;
} else if (arg == "--cli") {
} else if (arg == "--server") {
} else if (arg == "--fast") {
FLAG_fast = true;
} else if (arg == "--precise") {
Expand Down
2 changes: 2 additions & 0 deletions whisper.cpp/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ bool whisper_params_parse(int argc, char ** argv, whisper_params & params, serve

if (arg == "--log-disable") {
FLAG_log_disable = true;
} else if (arg == "--cli") {
} else if (arg == "--server") {
} else if (arg == "--fast") {
FLAG_fast = true;
} else if (arg == "--precise") {
Expand Down

0 comments on commit 8a5a724

Please sign in to comment.