Repository navigation
Conversation
|
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
| # The first request contains the configuration. | ||
| # Note that audio_content is explicitly set to None. | ||
| first_request = media.StreamingTranslateSpeechRequest( | ||
| streaming_config=config, audio_content=None) |
There was a problem hiding this comment.
Any construction of a StreamingTranslateSpeechRequest that sets both streaming_config and audio_content is going to have problems. Either one or the other msut be set, but not both.
| audio_content=content, | ||
| streaming_config=config) |
There was a problem hiding this comment.
Same as above: it's an error to set both audio_content and streaming_config in the same request.
|
Thanks for moving these! Please move the samples into |
This PR does the following: