csukuangfj
commited on
Commit
·
2d2ef67
1
Parent(s):
0a7d03f
update silero vad and sherpa-onnx
Browse files- model.py +1 -1
- requirements.txt +2 -2
model.py
CHANGED
@@ -210,7 +210,7 @@ def get_punct_model() -> sherpa_onnx.OfflinePunctuation:
|
|
210 |
def get_vad() -> sherpa_onnx.VoiceActivityDetector:
|
211 |
vad_model = _get_nn_model_filename(
|
212 |
repo_id="csukuangfj/vad",
|
213 |
-
filename="
|
214 |
subfolder=".",
|
215 |
)
|
216 |
|
|
|
210 |
def get_vad() -> sherpa_onnx.VoiceActivityDetector:
|
211 |
vad_model = _get_nn_model_filename(
|
212 |
repo_id="csukuangfj/vad",
|
213 |
+
filename="silero_vad_v5.onnx",
|
214 |
subfolder=".",
|
215 |
)
|
216 |
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
|
2 |
-
|
3 |
ffmpeg-python
|
4 |
-
https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/sherpa_onnx-1.9.26-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
|
|
1 |
|
2 |
+
sherpa-onnx>=1.9.21
|
3 |
ffmpeg-python
|
4 |
+
#https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/sherpa_onnx-1.9.26-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|