()
| 61 | |
| 62 | @p.mark.skipif(not s.which("ffmpeg"), reason="ffmpeg not found, skipping this test.") |
| 63 | def test_from_params(): |
| 64 | m = w.Whisper.from_params("tiny.en", w.api.Params.from_enum(w.api.SAMPLING_GREEDY)) |
| 65 | assert _EXPECTED == m.transcribe(preprocess(JFK_WAV)) |
| 66 | |
| 67 | |
| 68 | @p.mark.skipif(not s.which("ffmpeg"), reason="ffmpeg not found, skipping this test.") |
nothing calls this directly
no test coverage detected