Spaces:
Running
Running
Commit
·
fd0451f
1
Parent(s):
cb783c9
fix typos
Browse files
model.py
CHANGED
@@ -235,9 +235,7 @@ def _get_vits_zh_aishell3(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
235 |
|
236 |
|
237 |
@lru_cache(maxsize=10)
|
238 |
-
def
|
239 |
-
repo_id: str, speed: float
|
240 |
-
) -> sherpa_onnx.OfflineTts:
|
241 |
repo_id = repo_id.split("|")[0]
|
242 |
assert repo_id in ("csukuangfj/matcha-icefall-zh-baker",)
|
243 |
|
|
|
235 |
|
236 |
|
237 |
@lru_cache(maxsize=10)
|
238 |
+
def _get_matcha_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
|
|
|
239 |
repo_id = repo_id.split("|")[0]
|
240 |
assert repo_id in ("csukuangfj/matcha-icefall-zh-baker",)
|
241 |
|