]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
server : fix help print
authorGeorgi Gerganov <redacted>
Sun, 22 Dec 2024 13:32:05 +0000 (15:32 +0200)
committerGeorgi Gerganov <redacted>
Sun, 22 Dec 2024 13:32:05 +0000 (15:32 +0200)
examples/server/server.cpp

index a2ef726fe662091198091f163120417f94b92f9c..a8b0de2d776bcc67b7672f28133b9a335e3b2ae0 100644 (file)
@@ -136,7 +136,7 @@ void whisper_print_usage(int /*argc*/, char ** argv, const whisper_params & para
     fprintf(stderr, "  --public PATH,                 [%-7s] Path to the public folder\n", sparams.public_path.c_str());
     fprintf(stderr, "  --request-path PATH,           [%-7s] Request path for all requests\n", sparams.request_path.c_str());
     fprintf(stderr, "  --inference-path PATH,         [%-7s] Inference path for all requests\n", sparams.inference_path.c_str());
-    fprintf(stderr, "  --convert,                     [%-7s] Convert audio to WAV, requires ffmpeg on the server", sparams.ffmpeg_converter ? "true" : "false");
+    fprintf(stderr, "  --convert,                     [%-7s] Convert audio to WAV, requires ffmpeg on the server\n", sparams.ffmpeg_converter ? "true" : "false");
     fprintf(stderr, "  -sns,      --suppress-nst      [%-7s] suppress non-speech tokens\n", params.suppress_nst ? "true" : "false");
     fprintf(stderr, "  -nth N,    --no-speech-thold N [%-7.2f] no speech threshold\n",   params.no_speech_thold);
     fprintf(stderr, "\n");