Fixed print_system_info

This commit is contained in:
lightmare 2023-02-24 19:18:54 +00:00
parent 5a4f948785
commit d5eb133526

View File

@ -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)