csukuangfj commited on
Commit
b2030c1
·
1 Parent(s): 2d2f1b6
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -286,7 +286,7 @@ def _get_vits_zh_aishell3(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
286
  @lru_cache(maxsize=10)
287
  def _get_matcha_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
288
  repo_id = repo_id.split("|")[0]
289
- assert repo_id in ("csukuangfj/matcha-icefall-zh-baker",)
290
 
291
  if repo_id == "csukuangfj/matcha-icefall-zh-baker":
292
  acoustic_model = "model-steps-3.onnx"
 
286
  @lru_cache(maxsize=10)
287
  def _get_matcha_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
288
  repo_id = repo_id.split("|")[0]
289
+ assert repo_id in ("csukuangfj/matcha-icefall-zh-baker",), repo_id
290
 
291
  if repo_id == "csukuangfj/matcha-icefall-zh-baker":
292
  acoustic_model = "model-steps-3.onnx"