You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your wonderful work~!!!! This is really remarkable.
But I got a problem, I wanna set the max_len = 1 to get word timing, so I fork the repo, and add the param
classWhisper():
WHISPER_SR=16000def__init__(self, model_path, strategy=0, n_threads=1, max_len=1):
self.context=whisper_cpp.whisper_init_from_file(model_path.encode('utf-8'))
self.params=whisper_cpp.whisper_full_default_params(strategy)
self.params.n_threads=n_threads**self.params.max_len=max_len# here i add the max_len in to params**self.params.print_special=Falseself.params.print_progress=Falseself.params.print_realtime=Falseself.params.print_timestamps=True
But it does not work after I check the output, can you help to figure out the problem? Much thanks
The text was updated successfully, but these errors were encountered:
Thank you for your wonderful work~!!!! This is really remarkable.
But I got a problem, I wanna set the max_len = 1 to get word timing, so I fork the repo, and add the param
But it does not work after I check the output, can you help to figure out the problem? Much thanks
The text was updated successfully, but these errors were encountered: