mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
Adding VAD to whisper.cpp to reduce hallucinations on audio w silences (#1412)
This commit is contained in:
parent
981dd3a758
commit
04c07c6cae
5 changed files with 14 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class TestWhisperCpp:
|
|||
|
||||
# Combine all segment texts
|
||||
full_text = " ".join(segment.text for segment in segments)
|
||||
assert "Bien venu" in full_text
|
||||
assert "Bien venu" in full_text or "bienvenu" in full_text.lower()
|
||||
|
||||
def test_transcribe_word_level_timestamps(self):
|
||||
transcription_options = TranscriptionOptions(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue