Skip to content

Commit

Permalink
Ci-whisper-asr (huggingface#20588)
Browse files Browse the repository at this point in the history
* Expected output for the test changed

* fix failing asr test
  • Loading branch information
ArthurZucker authored and miyu386 committed Feb 9, 2023
1 parent 361e55f commit 1cafc87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_simple_whisper_translation(self):
model=model, tokenizer=tokenizer, feature_extractor=feature_extractor
)
output_3 = speech_translator(filename)
self.assertEqual(output_3, {"text": " Un uomo ha detto allo universo, Sir, esiste."})
self.assertEqual(output_3, {"text": " Un uomo ha detto all'universo, Sir, esiste."})

@slow
@require_torch
Expand Down

0 comments on commit 1cafc87

Please sign in to comment.