Skip to content

Commit

Permalink
samples: Data logging opt-in is no longer required for enhanced models (
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Taylor authored and chingor13 committed Aug 15, 2020
1 parent a8ac347 commit 7fc2cdb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,6 @@ public static void transcribeFileWithEnhancedModel(String fileName) throws Excep
.setEncoding(AudioEncoding.LINEAR16)
.setLanguageCode("en-US")
.setSampleRateHertz(8000)
// Enhanced models are only available to projects that
// opt in for audio data collection.
.setUseEnhanced(true)
// A model must be specified to use enhanced model.
.setModel("phone_call")
Expand Down

0 comments on commit 7fc2cdb

Please sign in to comment.