From f4f7028a6ef314cc6baad89547300c741f2721e7 Mon Sep 17 00:00:00 2001 From: miro Date: Sun, 24 Nov 2024 16:49:43 +0000 Subject: [PATCH] feat: STT lang detector companion to https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/289 allow lang detection without initing 2 models --- test/test_plugin.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/test_plugin.py b/test/test_plugin.py index 8b24fdb..9150fd8 100644 --- a/test/test_plugin.py +++ b/test/test_plugin.py @@ -47,14 +47,5 @@ def test_faster_whisper_stt_audiodata2array(audio_data): assert array.dtype == np.float32 -def test_faster_whisper_stt_invalid_model(): - stt = FasterWhisperSTT(config={"model": "invalid_model"}) - assert stt.config["model"] == "small" - - -def test_faster_whisper_lang_classifier_invalid_model(): - classifier = FasterWhisperLangClassifier(config={"model": "invalid_model"}) - assert classifier.config["model"] == "small" - if __name__ == "__main__": pytest.main()