From: Georgi Gerganov Date: Fri, 24 Nov 2023 11:13:12 +0000 (+0200) Subject: whisper : remove trailing whitespaces X-Git-Tag: upstream/1.7.4~1225 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=447d49530c9af41fe24f2ae510f452903dba330d;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp whisper : remove trailing whitespaces --- diff --git a/whisper.h b/whisper.h index bd3409fc..3143ceaa 100644 --- a/whisper.h +++ b/whisper.h @@ -51,7 +51,7 @@ extern "C" { // ... // // whisper_context_params cparams = whisper_context_default_params(); - // + // // struct whisper_context * ctx = whisper_init_from_file_with_params("/path/to/ggml-base.en.bin", cparams); // // if (whisper_full(ctx, wparams, pcmf32.data(), pcmf32.size()) != 0) { @@ -316,7 +316,7 @@ extern "C" { WHISPER_API const char * whisper_lang_str(int id); // Return the short string of the specified language name (e.g. 2 -> "german"), returns nullptr if not found - WHISPER_API const char * whisper_lang_str_full(int id); + WHISPER_API const char * whisper_lang_str_full(int id); // Use mel data at offset_ms to try and auto-detect the spoken language // Make sure to call whisper_pcm_to_mel() or whisper_set_mel() first