8000 Remove old parameter enable_word_time_offsets (#1054) · johnmanong/python-docs-samples@a01c025 · GitHub
[go: up one dir, main page]

Skip to content

Commit a01c025

Browse files
remi TaylorJon Wayne Parrott
remi Taylor
authored and
Jon Wayne Parrott
committed
Remove old parameter enable_word_time_offsets (GoogleCloudPlatform#1054)
1 parent 2fbcd1d commit a01c025

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

speech/cloud-client/transcribe_async.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def transcribe_gcs(gcs_uri):
7171
config = types.RecognitionConfig(
7272
encoding=enums.RecognitionConfig.AudioEncoding.FLAC,
7373
sample_rate_hertz=16000,
74-
language_code='en-US',
75-
enable_word_time_offsets=True)
74+
language_code='en-US')
7675

7776
operation = client.long_running_recognize(config, audio)
7877

0 commit comments

Comments
 (0)
0