From 14a0715955fb74720e516c62a11653402f461eeb Mon Sep 17 00:00:00 2001 From: Alexander Veysov Date: Thu, 27 Apr 2023 13:22:00 +0300 Subject: [PATCH] Deprecate lang detector and number detector models --- hubconf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hubconf.py b/hubconf.py index 7aa108d..1f5cefe 100644 --- a/hubconf.py +++ b/hubconf.py @@ -58,6 +58,7 @@ def silero_number_detector(onnx=False, force_onnx_cpu=False): Returns a model with a set of utils Please see https://github.com/snakers4/silero-vad for usage examples """ + raise NotImplementedError('This model has been deprecated and is not supported anymore.') if onnx: url = 'https://models.silero.ai/vad_models/number_detector.onnx' else: @@ -77,6 +78,7 @@ def silero_lang_detector(onnx=False, force_onnx_cpu=False): Returns a model with a set of utils Please see https://github.com/snakers4/silero-vad for usage examples """ + raise NotImplementedError('This model has been deprecated and is not supported anymore.') if onnx: url = 'https://models.silero.ai/vad_models/number_detector.onnx' else: @@ -93,6 +95,7 @@ def silero_lang_detector_95(onnx=False, force_onnx_cpu=False): Returns a model with a set of utils Please see https://github.com/snakers4/silero-vad for usage examples """ + raise NotImplementedError('This model has been deprecated and is not supported anymore.') if onnx: url = 'https://models.silero.ai/vad_models/lang_classifier_95.onnx' else: