From 1b35d4628dadea589c2205fd1b7ee3fa58a152cd Mon Sep 17 00:00:00 2001 From: remi Taylor Date: Fri, 4 Aug 2017 10:34:24 -0700 Subject: [PATCH] Remove old parameter enable_word_time_offsets enable_word_time_offsets=True was present for an older version of this sample. This sample no longer processes word time offsets in the recognize response. --- speech/cloud-client/transcribe_async.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/speech/cloud-client/transcribe_async.py b/speech/cloud-client/transcribe_async.py index e8fd61159ef..9ac77918cf5 100644 --- a/speech/cloud-client/transcribe_async.py +++ b/speech/cloud-client/transcribe_async.py @@ -71,8 +71,7 @@ def transcribe_gcs(gcs_uri): config = types.RecognitionConfig( encoding=enums.RecognitionConfig.AudioEncoding.FLAC, sample_rate_hertz=16000, - language_code='en-US', - enable_word_time_offsets=True) + language_code='en-US') operation = client.long_running_recognize(config, audio)