diff --git a/texttospeech/cloud-client/audio_profile.py b/texttospeech/cloud-client/audio_profile.py index 21a6515b4c51..4ddd9db5204a 100644 --- a/texttospeech/cloud-client/audio_profile.py +++ b/texttospeech/cloud-client/audio_profile.py @@ -24,7 +24,7 @@ import argparse -# [START tts_synthesize_text_with_audio_profile] +# [START tts_synthesize_text_audio_profile_beta] def synthesize_text_with_audio_profile(text, output, effects_profile_id): """Synthesizes speech from the input string of text.""" from google.cloud import texttospeech_v1beta1 as texttospeech @@ -50,7 +50,7 @@ def synthesize_text_with_audio_profile(text, output, effects_profile_id): out.write(response.audio_content) print('Audio content written to file "%s"' % output) -# [END tts_synthesize_text_with_audio_profile] +# [END tts_synthesize_text_audio_profile_beta] if __name__ == '__main__':