Fixed print_system_info
This commit is contained in:
parent
5a4f948785
commit
d5eb133526
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user