Skip to content

Commit

Permalink
test: Tweak expected for latest Whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext authored Mar 28, 2024
1 parent 42668ba commit 9a694d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_ibm_chinese(self):
def test_whisper_english(self):
r = sr.Recognizer()
with sr.AudioFile(self.AUDIO_FILE_EN) as source: audio = r.record(source)
self.assertEqual(r.recognize_whisper(audio, language="english", **self.WHISPER_CONFIG), " 1, 2, 3.")
self.assertEqual(r.recognize_whisper(audio, language="english", **self.WHISPER_CONFIG), " 1, 2, 3")

def test_whisper_french(self):
r = sr.Recognizer()
Expand Down

0 comments on commit 9a694d7

Please sign in to comment.