[Bugfix] Validate Breeze PCM speech content and calibrate HNR guard (#8044)
Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
1 parent
dbd6a35dd2
commit
1d77e96d4d
4 files changed
+216
-12
No files matched your search
@@ -1445,6 +1445,8 @@ class OnlineOmniClient:
|
||||
- min_audio_bytes: optional minimum ``len(audio_bytes)`` checked in ``assert_audio_speech_response``
|
||||
- transcript_expected_text: local expected spoken text; defaults to ``input``
|
||||
- transcript_model: primary Whisper model for content checks; defaults to ``small``
|
||||
- transcript_pcm_sample_rate: local-only opt-in to transcribe mono int16 PCM;
|
||||
must be the actual output sample rate, also used for HNR
|
||||
- timeout: request timeout in seconds (float, optional, default 120.0)
|
||||
- stream: whether to use streaming API (bool, optional, default False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user