Skip to content

Commit 29d79ce

Browse files
authored
Merge pull request #505 from GoogleCloudPlatform/grpc1
2 parents 30b1df2 + 60ae4ed commit 29d79ce

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

speech/grpc/transcribe_streaming.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ def request_stream(stop_audio, channels=CHANNELS, rate=RATE, chunk=CHUNK):
100100
)
101101
streaming_config = cloud_speech.StreamingRecognitionConfig(
102102
config=recognition_config,
103-
# Note that setting interim_results to True means that you'll likely
104-
# get multiple results for the same bit of audio, as the system
105-
# re-interprets audio in the context of subsequent audio. However, this
106-
# will give us quick results without having to tell the server when to
107-
# finalize a piece of audio.
108-
interim_results=True, single_utterance=True
109103
)
110104

111105
yield cloud_speech.StreamingRecognizeRequest(

0 commit comments

Comments
 (0)