From 64008a7d6457b732b59010275f5d2cb608a0f47d Mon Sep 17 00:00:00 2001 From: Luke Southam Date: Fri, 16 Dec 2022 01:11:18 +0000 Subject: [PATCH] Update whispercpp.pyx --- whispercpp.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/whispercpp.pyx b/whispercpp.pyx index 71831c6..a231d96 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -103,7 +103,8 @@ cdef class Whisper: cdef audio_data data = load_audio(filename) return whisper_full(self.ctx, self.params, data.frames, data.n_frames) - cpdef list extract_text(self, int res): + def extract_text(self, int res): + print("Extracting text...") if res != 0: raise RuntimeError cdef int n_segments = whisper_full_n_segments(self.ctx)