Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Update beta samples to GA [(#2008)](GoogleCloudPlatform/python-docs-s…
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and busunkim96 committed May 13, 2020
1 parent 2536a22 commit 18d0e10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion samples/audio_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
import argparse


# [START tts_synthesize_text_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
from google.cloud import texttospeech

client = texttospeech.TextToSpeechClient()

Expand All @@ -51,6 +52,7 @@ def synthesize_text_with_audio_profile(text, output, effects_profile_id):
print('Audio content written to file "%s"' % output)

# [END tts_synthesize_text_audio_profile_beta]
# [END tts_synthesize_text_audio_profile]


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion samples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-texttospeech==0.3.0
google-cloud-texttospeech==0.4.0

0 comments on commit 18d0e10

Please sign in to comment.