Skip to content

Commit

Permalink
Data logging opt-in is no longer required for enhanced models (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Taylor authored and nirupa-kumar committed Mar 22, 2019
1 parent a700bbf commit 9cec18a
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 9cec18a

Please sign in to comment.