From b0a2dbd6b1226d9aee1183706d374bf0f1da84d5 Mon Sep 17 00:00:00 2001 From: Vinny Senthil Date: Mon, 14 Dec 2020 14:34:59 -0800 Subject: [PATCH] fix: Remove incorrect comment on enhanced models (#95) Fixes http://b/140560084 --- speech/snippets/transcribe_enhanced_model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/speech/snippets/transcribe_enhanced_model.py b/speech/snippets/transcribe_enhanced_model.py index 175040350faf..03720545e537 100644 --- a/speech/snippets/transcribe_enhanced_model.py +++ b/speech/snippets/transcribe_enhanced_model.py @@ -42,8 +42,6 @@ def transcribe_file_with_enhanced_model(path): encoding=speech.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",