Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-19 15:35:52 -08:00
parent 9500b21471
commit 709832dbcc

View File

@@ -44,6 +44,7 @@ for voice_id, info in data.items():
mylist.append(f"{info["language"]["name_native"]} ({info["language"]["name_english"]}, {info["language"]["country_english"]})")
mylist_code.append(f"{info["language"]["code"]}")
# Removes duplicate languages choices from list
mylist = list(dict.fromkeys(mylist))
mylist_code = list(dict.fromkeys(mylist_code))