Keep baseline ASR evaluation unchanged and retain documentation WAVs
Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
1 parent
e83dd95221
commit
d2873b38b7
2 files changed
+1
-34
No files matched your search
@@ -181,9 +181,7 @@ def test_modality_control_003(omni_server) -> None:
|
||||
|
||||
# Verify text output same as audio output
|
||||
wav_path = extract_last_audio_saved_path(result)
|
||||
# Whisper-small hallucinates a repeated-letter tail on this fixture's WAV.
|
||||
# Use stronger ASR while retaining the keyword and similarity assertions.
|
||||
audio_content = convert_audio_file_to_text(output_path=f"./{wav_path}", model_size="large-v3")
|
||||
audio_content = convert_audio_file_to_text(output_path=f"./{wav_path}")
|
||||
print(f"text content is: {text_content}")
|
||||
assert "cherry blossom" in audio_content, "The output does not contain any of the keywords."
|
||||
print(f"audio content is: {audio_content}")
|
||||
|
||||
Reference in new issue
Block a user