()
| 37 | |
| 38 | |
| 39 | def test_invalid_models(): |
| 40 | with p.raises(RuntimeError): |
| 41 | w.Whisper.from_pretrained("whisper_v0.1") |
| 42 | with p.raises(RuntimeError): |
| 43 | w.Whisper.from_params( |
| 44 | "whisper_v0.1", w.api.Params.from_enum(w.api.SAMPLING_GREEDY) |
| 45 | ) |
| 46 | |
| 47 | |
| 48 | def test_forbid_init(): |
nothing calls this directly
no test coverage detected