Spaces:
Runtime error
Runtime error
csukuangfj
commited on
Commit
·
e7d289e
1
Parent(s):
d81aaaf
small fixes
Browse files
model.py
CHANGED
@@ -710,10 +710,10 @@ def _get_paraformer_zh_pre_trained_model(
|
|
710 |
nn_model = _get_nn_model_filename(
|
711 |
repo_id=repo_id,
|
712 |
filename="model.onnx",
|
713 |
-
subfolder="
|
714 |
)
|
715 |
|
716 |
-
tokens = _get_token_filename(repo_id=repo_id, subfolder="
|
717 |
|
718 |
recognizer = sherpa_onnx.OfflineRecognizer.from_paraformer(
|
719 |
paraformer=nn_model,
|
|
|
710 |
nn_model = _get_nn_model_filename(
|
711 |
repo_id=repo_id,
|
712 |
filename="model.onnx",
|
713 |
+
subfolder=".",
|
714 |
)
|
715 |
|
716 |
+
tokens = _get_token_filename(repo_id=repo_id, subfolder=".")
|
717 |
|
718 |
recognizer = sherpa_onnx.OfflineRecognizer.from_paraformer(
|
719 |
paraformer=nn_model,
|