From 8a02ceeb5723b4d5075ab90bf64edefae9b81572 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 --- samples/snippets/transcribe_enhanced_model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/snippets/transcribe_enhanced_model.py b/samples/snippets/transcribe_enhanced_model.py index 17504035..03720545 100644 --- a/samples/snippets/transcribe_enhanced_model.py +++ b/samples/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",