Spaces:
Running
Running
Commit
·
6259405
1
Parent(s):
be1da53
fix names
Browse files
model.py
CHANGED
@@ -328,8 +328,8 @@ def _get_vits_zh_aishell3(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
328 |
def _get_matcha_hf_espeak(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
329 |
repo_id = repo_id.split("|")[0]
|
330 |
assert repo_id in (
|
331 |
-
"csukuangfj/matcha-tts-fa_en-
|
332 |
-
"csukuangfj/matcha-tts-fa_en-
|
333 |
), repo_id
|
334 |
|
335 |
acoustic_model = get_file(
|
@@ -659,8 +659,8 @@ chinese_english_models = {
|
|
659 |
}
|
660 |
|
661 |
persian_english_models = {
|
662 |
-
"csukuangfj/matcha-tts-fa_en-
|
663 |
-
"csukuangfj/matcha-tts-fa_en-
|
664 |
"csukuangfj/vits-piper-fa_en-rezahedayatfar-ibrahimwalk-medium|1": _get_vits_piper, # 1
|
665 |
}
|
666 |
|
|
|
328 |
def _get_matcha_hf_espeak(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
329 |
repo_id = repo_id.split("|")[0]
|
330 |
assert repo_id in (
|
331 |
+
"csukuangfj/matcha-tts-fa_en-khadijah",
|
332 |
+
"csukuangfj/matcha-tts-fa_en-musa",
|
333 |
), repo_id
|
334 |
|
335 |
acoustic_model = get_file(
|
|
|
659 |
}
|
660 |
|
661 |
persian_english_models = {
|
662 |
+
"csukuangfj/matcha-tts-fa_en-khadijah|1 speaker": _get_matcha_hf_espeak, # 1
|
663 |
+
"csukuangfj/matcha-tts-fa_en-musa|1 speaker": _get_matcha_hf_espeak, # 1
|
664 |
"csukuangfj/vits-piper-fa_en-rezahedayatfar-ibrahimwalk-medium|1": _get_vits_piper, # 1
|
665 |
}
|
666 |
|