Get ready to add diarization to openvino backend.
This commit is contained in:
@@ -28,6 +28,7 @@ class ServeClientOpenVINO(ServeClientBase):
|
||||
no_speech_thresh=0.45,
|
||||
clip_audio=False,
|
||||
same_output_threshold=10,
|
||||
diarization=None,
|
||||
):
|
||||
"""
|
||||
Initialize a ServeClient instance.
|
||||
@@ -56,6 +57,8 @@ class ServeClientOpenVINO(ServeClientBase):
|
||||
no_speech_thresh,
|
||||
clip_audio,
|
||||
same_output_threshold,
|
||||
None, # translation_queue — OpenVINO backend does not support translation
|
||||
diarization, # speaker diarization — passed through to base class
|
||||
)
|
||||
self.language = "en" if language is None else language
|
||||
if not self.language.startswith("<|"):
|
||||
|
||||
Reference in New Issue
Block a user