10000 Remove old parameter enable_word_time_offsets [(#1054)](https://githu… · googleapis/python-speech@c8cbfd2 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit c8cbfd2

Browse files
remi Taylorbusunkim96
authored andcommitted
Remove old parameter enable_word_time_offsets [(#1054)](GoogleCloudPlatform/python-docs-samples#1054)
1 parent f34c15c commit c8cbfd2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/snippets/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