From d5eb133526d5fa0f997ec9874ec5494e809806e3 Mon Sep 17 00:00:00 2001 From: lightmare Date: Fri, 24 Feb 2023 19:18:54 +0000 Subject: [PATCH] Fixed `print_system_info` --- whispercpp.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whispercpp.pyx b/whispercpp.pyx index ce99b2a..cd2910f 100644 --- a/whispercpp.pyx +++ b/whispercpp.pyx @@ -144,7 +144,7 @@ cdef class Whisper: self.ctx = whisper_init(model_b) self.params = set_params(print_realtime, print_progress, token_timestamps, print_timestamps, translate, language, n_threads) if print_system_info: - whisper_print_system_info() + print(whisper_print_system_info().decode()) def __dealloc__(self): whisper_free(self.ctx)