Skip to content

Distribute and run LLMs with a single file.

Improve whisperfile flag handling slightly

Justine Tunney8a5a7242c51a
diff --git a/whisper.cpp/main.cpp b/whisper.cpp/main.cpp
index 214eba92..85c6f8db 100644
--- a/whisper.cpp/main.cpp
+++ b/whisper.cpp/main.cpp
@@ -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") {
diff --git a/whisper.cpp/server.cpp b/whisper.cpp/server.cpp
index 4a11708d..bf43fb9f 100644
--- a/whisper.cpp/server.cpp
+++ b/whisper.cpp/server.cpp
@@ -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") {