Fixed n_threads param

This commit is contained in:
lightmare 2023-02-18 23:00:47 +00:00
parent af035ea355
commit 2854cdfbe3

View File

@ -93,7 +93,7 @@ cdef whisper_full_params set_params(_Bool print_realtime, _Bool print_progress,
params.print_progress = print_progress
params.translate = translate
params.language = <const char *> language
n_threads = n_threads
params.n_threads = n_threads
return params
cdef class Whisper: