csukuangfj
commited on
Commit
•
f7353fd
1
Parent(s):
74e00b9
fix a typo
Browse files
model.py
CHANGED
@@ -1113,7 +1113,7 @@ def _get_chinese_dialect_models(
|
|
1113 |
tokens = _get_token_filename(repo_id=repo_id, subfolder=".")
|
1114 |
|
1115 |
recognizer = sherpa_onnx.OfflineRecognizer.from_telespeech_ctc(
|
1116 |
-
|
1117 |
tokens=tokens,
|
1118 |
num_threads=2,
|
1119 |
)
|
|
|
1113 |
tokens = _get_token_filename(repo_id=repo_id, subfolder=".")
|
1114 |
|
1115 |
recognizer = sherpa_onnx.OfflineRecognizer.from_telespeech_ctc(
|
1116 |
+
model=nn_model,
|
1117 |
tokens=tokens,
|
1118 |
num_threads=2,
|
1119 |
)
|