Try again with native

This commit is contained in:
Michael Hansen
2024-03-18 16:53:55 -05:00
parent 935d28127d
commit f8997fc999
2 changed files with 39 additions and 36 deletions

View File

@@ -115,7 +115,10 @@ def main() -> None:
for lang_code in sorted(voices_by_lang_code):
lang_info = _LANGUAGES[lang_code]
print("*", lang_info.english, f"({lang_code})")
if lang_code.startswith("en_"):
print("*", lang_info.english, f"({lang_code})")
else:
print("*", lang_info.english, f"(`{lang_code}`, {lang_info.native})")
last_dataset = None
for voice in sorted(