diff --git a/texttospeech/cloud-client/requirements.txt b/texttospeech/cloud-client/requirements.txt index 0cd0886a375..ccf0a4d5e1b 100644 --- a/texttospeech/cloud-client/requirements.txt +++ b/texttospeech/cloud-client/requirements.txt @@ -1 +1,2 @@ +future==0.18.2 google-cloud-texttospeech==0.5.0 diff --git a/texttospeech/cloud-client/synthesize_text.py b/texttospeech/cloud-client/synthesize_text.py index d5886bd16f1..768c0da0317 100644 --- a/texttospeech/cloud-client/synthesize_text.py +++ b/texttospeech/cloud-client/synthesize_text.py @@ -36,6 +36,7 @@ def synthesize_text(text): # Names of voices can be retrieved with client.list_voices(). voice = texttospeech.types.VoiceSelectionParams( language_code='en-US', + name='en-US-Standard-C', ssml_gender=texttospeech.enums.SsmlVoiceGender.FEMALE) audio_config = texttospeech.types.AudioConfig( @@ -68,6 +69,7 @@ def synthesize_ssml(ssml): # Names of voices can be retrieved with client.list_voices(). voice = texttospeech.types.VoiceSelectionParams( language_code='en-US', + name='en-US-Standard-C', ssml_gender=texttospeech.enums.SsmlVoiceGender.FEMALE) audio_config = texttospeech.types.AudioConfig(