csukuangfj commited on
Commit
447a500
1 Parent(s): fffaea0

fix a typo

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -238,7 +238,7 @@ def _get_vits_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
238
  model = repo_id.split("-")[-1]
239
 
240
  if "sherpa-onnx-vits-zh-ll" in repo_id:
241
- model = "model.onnx"
242
 
243
  if not Path("/tmp/dict").is_dir():
244
  os.system(
 
238
  model = repo_id.split("-")[-1]
239
 
240
  if "sherpa-onnx-vits-zh-ll" in repo_id:
241
+ model = "model"
242
 
243
  if not Path("/tmp/dict").is_dir():
244
  os.system(