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
Thanks for this great project!
I am attempting to use a WhisperProcessor instance more than once, calling ProcessAsync serially. However, after the first successful recognition, it only sometimes returns SegmentDatas. It appears that OnSegmentHandler is not being called while in whisper_full_with_state.
To work around this, I save the builder and then Build() before every ProcessAsync. Everything gets recognized successfully.
The text was updated successfully, but these errors were encountered:
Hello @jdluzen ,
Thanks for reporting the issue.
Indeed, there was a bug in the Process and ProcessAsync methods which was not calling the handlers on subsequential calls.
It will come with the next version of Whisper, but yes, in the meantime, the workaround proposed (to call Build multiple times) should be goon.
Also, if you want to execute multiple transformation in parallel, not only serially => the approach with multiple processors and keeping the builder is needed.
Thanks for this great project!
I am attempting to use a
WhisperProcessor
instance more than once, callingProcessAsync
serially. However, after the first successful recognition, it only sometimes returnsSegmentData
s. It appears thatOnSegmentHandler
is not being called while inwhisper_full_with_state
.To work around this, I save the builder and then
Build()
before everyProcessAsync
. Everything gets recognized successfully.The text was updated successfully, but these errors were encountered: