]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : remove trailing whitespaces
authorGeorgi Gerganov <redacted>
Fri, 24 Nov 2023 11:13:12 +0000 (13:13 +0200)
committerGeorgi Gerganov <redacted>
Fri, 24 Nov 2023 11:13:21 +0000 (13:13 +0200)
whisper.h

index bd3409fcdb069c48abb24413779b38d10d0d3606..3143ceaaf180b65dcd4d892c43b130f1f309c8a3 100644 (file)
--- 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