csukuangfj
commited on
Commit
·
e158819
1
Parent(s):
3b1a93c
fix sense voice
Browse files
model.py
CHANGED
@@ -572,8 +572,6 @@ def _get_yifan_thai_pretrained_model(repo_id: str) -> sherpa_onnx.OfflineRecogni
|
|
572 |
@lru_cache(maxsize=10)
|
573 |
def _get_sense_voice_pre_trained_model(
|
574 |
repo_id: str,
|
575 |
-
decoding_method: str,
|
576 |
-
num_active_paths: int,
|
577 |
) -> sherpa_onnx.OfflineRecognizer:
|
578 |
assert repo_id in [
|
579 |
"csukuangfj/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
|
|
|
572 |
@lru_cache(maxsize=10)
|
573 |
def _get_sense_voice_pre_trained_model(
|
574 |
repo_id: str,
|
|
|
|
|
575 |
) -> sherpa_onnx.OfflineRecognizer:
|
576 |
assert repo_id in [
|
577 |
"csukuangfj/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
|