csukuangfj commited on
Commit
2978c02
1 Parent(s): 9adb460

small fixes

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -127,7 +127,7 @@ def _get_vits_piper_de_DE(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
127
  "csukuangfj/vits-piper-de_DE-thorsten_emotional-medium",
128
  )
129
  n = len("vits-piper-")
130
- name = repo_id.split("/")[0][n:]
131
 
132
  model = get_file(
133
  repo_id=repo_id,
 
127
  "csukuangfj/vits-piper-de_DE-thorsten_emotional-medium",
128
  )
129
  n = len("vits-piper-")
130
+ name = repo_id.split("/")[1][n:]
131
 
132
  model = get_file(
133
  repo_id=repo_id,