Skip to content

Commit

Permalink
Enhanced models are available to all projects [(#2207)](GoogleCloudPl…
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and busunkim96 committed Sep 3, 2020
1 parent 001ce5e commit d7c5a0a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ def transcribe_file_with_enhanced_model():
encoding=speech.enums.RecognitionConfig.AudioEncoding.LINEAR16,
sample_rate_hertz=8000,
language_code='en-US',
# Enhanced models are only available to projects that
# opt in for audio data collection.
use_enhanced=True,
# A model must be specified to use enhanced model.
model='phone_call')
Expand Down

0 comments on commit d7c5a0a

Please sign in to comment.