csukuangfj
commited on
Commit
·
6306c28
1
Parent(s):
751ffc4
fix vad
Browse files
model.py
CHANGED
@@ -183,7 +183,6 @@ def get_punct_model() -> sherpa_onnx.OfflinePunctuation:
|
|
183 |
return punct
|
184 |
|
185 |
|
186 |
-
@lru_cache(maxsize=2)
|
187 |
def get_vad() -> sherpa_onnx.VoiceActivityDetector:
|
188 |
vad_model = _get_nn_model_filename(
|
189 |
repo_id="csukuangfj/vad",
|
|
|
183 |
return punct
|
184 |
|
185 |
|
|
|
186 |
def get_vad() -> sherpa_onnx.VoiceActivityDetector:
|
187 |
vad_model = _get_nn_model_filename(
|
188 |
repo_id="csukuangfj/vad",
|