Skip to content

Commit

Permalink
comment on sreaming requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dizcology committed Jul 5, 2017
1 parent de0189e commit 79c6089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions speech/cloud-client/transcribe_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def transcribe_streaming(stream_file):
sample_rate_hertz=16000,
language_code='en-US')

# In practice requests should be a generator yielding chunks of audio data.
requests = [request]
streaming_config = types.StreamingRecognitionConfig(config=config)

Expand Down

0 comments on commit 79c6089

Please sign in to comment.