rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
4.24k stars 447 forks source link

ValueError: Invalid voice 'fil-PH-AngeloNeural'. #106

Closed EricKong1985 closed 1 year ago

EricKong1985 commented 1 year ago

We use edge-tts --list-voices command to find what voice for support,! we can find the fil-PH-AngeloNeural in the result list. but when issue the command: edge-tts --text "Gintutdoan ta ka ba kon panoy pagsepilyo sa mga karatula sa sala" --write-media hello.mp3 --voice fil-PH-AngeloNeural It will throw error: communicate = edge_tts.Communicate(text, voice, rate=RATE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\edge_tts\communicate.py", line 275, in init raise ValueError(f"Invalid voice '{voice}'.")

rany2 commented 1 year ago

Fixed in 6.1.7.