csukuangfj
commited on
Commit
·
e9d0f12
1
Parent(s):
44ee875
update vad asr
Browse files
model.py
CHANGED
@@ -124,9 +124,7 @@ def _get_paraformer_zh_pre_trained_model(repo_id: str) -> sherpa_onnx.OfflineRec
|
|
124 |
|
125 |
|
126 |
@lru_cache(maxsize=5)
|
127 |
-
def _get_chinese_dialect_models(
|
128 |
-
repo_id: str, decoding_method: str, num_active_paths: int
|
129 |
-
) -> sherpa_onnx.OfflineRecognizer:
|
130 |
assert repo_id in [
|
131 |
"csukuangfj/sherpa-onnx-telespeech-ctc-int8-zh-2024-06-04",
|
132 |
], repo_id
|
|
|
124 |
|
125 |
|
126 |
@lru_cache(maxsize=5)
|
127 |
+
def _get_chinese_dialect_models(repo_id: str) -> sherpa_onnx.OfflineRecognizer:
|
|
|
|
|
128 |
assert repo_id in [
|
129 |
"csukuangfj/sherpa-onnx-telespeech-ctc-int8-zh-2024-06-04",
|
130 |
], repo_id
|