Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update beta samples to GA #2008

Merged
merged 3 commits into from
Feb 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion texttospeech/cloud-client/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 texttospeech/cloud-client/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