Skip to content

Commit

Permalink
Remove old parameter enable_word_time_offsets [(#1054)](#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
remi Taylor authored and telpirion committed Mar 13, 2023
1 parent 8a5fb32 commit 6cc9ff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions speech/snippets/transcribe_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6cc9ff1

Please sign in to comment.