You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Uses the specified decoding strategy to obtain the text.\n");
642
647
643
-
DEF_RELEASE_GIL("whisper_full_parallel", &whisper_full_parallel_wrapper, "Split the input audio in chunks and process each chunk separately using whisper_full()\n"
648
+
m.def("whisper_full_parallel", &whisper_full_parallel_wrapper, "Split the input audio in chunks and process each chunk separately using whisper_full()\n"
644
649
"It seems this approach can offer some speedup in some cases.\n"
645
650
"However, the transcription accuracy can be worse at the beginning and end of each chunk.");
646
651
647
-
DEF_RELEASE_GIL("whisper_full_n_segments", &whisper_full_n_segments_wrapper, "Number of generated text segments.\n"
652
+
m.def("whisper_full_n_segments", &whisper_full_n_segments_wrapper, "Number of generated text segments.\n"
648
653
"A segment can be a few words, a sentence, or even a paragraph.\n");
649
654
650
655
m.def("whisper_full_lang_id", &whisper_full_lang_id_wrapper, "Language id associated with the current context");
0 commit comments