fix: correct Gemini TTS voice names
This commit is contained in:
@@ -1218,7 +1218,7 @@ class GeminiTTSService(GoogleBaseTTSService):
|
|||||||
"Alnilam",
|
"Alnilam",
|
||||||
"Aoede",
|
"Aoede",
|
||||||
"Autonoe",
|
"Autonoe",
|
||||||
"Callirhoe",
|
"Callirrhoe",
|
||||||
"Charon",
|
"Charon",
|
||||||
"Despina",
|
"Despina",
|
||||||
"Enceladus",
|
"Enceladus",
|
||||||
@@ -1236,7 +1236,7 @@ class GeminiTTSService(GoogleBaseTTSService):
|
|||||||
"Sadachbia",
|
"Sadachbia",
|
||||||
"Sadaltager",
|
"Sadaltager",
|
||||||
"Schedar",
|
"Schedar",
|
||||||
"Sulafar",
|
"Sulafat",
|
||||||
"Umbriel",
|
"Umbriel",
|
||||||
"Vindemiatrix",
|
"Vindemiatrix",
|
||||||
"Zephyr",
|
"Zephyr",
|
||||||
|
|||||||
10
tests/test_google_tts.py
Normal file
10
tests/test_google_tts.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
from pipecat.services.google.tts import GeminiTTSService
|
||||||
|
|
||||||
|
|
||||||
|
def test_gemini_tts_available_voices_match_documented_names():
|
||||||
|
voices = GeminiTTSService.AVAILABLE_VOICES
|
||||||
|
|
||||||
|
assert "Callirrhoe" in voices
|
||||||
|
assert "Sulafat" in voices
|
||||||
|
assert "Callirhoe" not in voices
|
||||||
|
assert "Sulafar" not in voices
|
||||||
Reference in New Issue
Block a user