ggerganov commited on
Commit
ee64ad8
·
unverified ·
1 Parent(s): 4515273

whisper : remove trailing whitespaces

Browse files
Files changed (1) hide show
  1. whisper.h +2 -2
whisper.h CHANGED
@@ -51,7 +51,7 @@ extern "C" {
51
  // ...
52
  //
53
  // whisper_context_params cparams = whisper_context_default_params();
54
- //
55
  // struct whisper_context * ctx = whisper_init_from_file_with_params("/path/to/ggml-base.en.bin", cparams);
56
  //
57
  // if (whisper_full(ctx, wparams, pcmf32.data(), pcmf32.size()) != 0) {
@@ -316,7 +316,7 @@ extern "C" {
316
  WHISPER_API const char * whisper_lang_str(int id);
317
 
318
  // Return the short string of the specified language name (e.g. 2 -> "german"), returns nullptr if not found
319
- WHISPER_API const char * whisper_lang_str_full(int id);
320
 
321
  // Use mel data at offset_ms to try and auto-detect the spoken language
322
  // Make sure to call whisper_pcm_to_mel() or whisper_set_mel() first
 
51
  // ...
52
  //
53
  // whisper_context_params cparams = whisper_context_default_params();
54
+ //
55
  // struct whisper_context * ctx = whisper_init_from_file_with_params("/path/to/ggml-base.en.bin", cparams);
56
  //
57
  // if (whisper_full(ctx, wparams, pcmf32.data(), pcmf32.size()) != 0) {
 
316
  WHISPER_API const char * whisper_lang_str(int id);
317
 
318
  // Return the short string of the specified language name (e.g. 2 -> "german"), returns nullptr if not found
319
+ WHISPER_API const char * whisper_lang_str_full(int id);
320
 
321
  // Use mel data at offset_ms to try and auto-detect the spoken language
322
  // Make sure to call whisper_pcm_to_mel() or whisper_set_mel() first