From 7f60ac676d814a81a54c51d8d3ee5519c3140493 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/packages/google-cloud-python-speech/samples/snippets/transcribe_enhanced_model.py b/packages/google-cloud-python-speech/samples/snippets/transcribe_enhanced_model.py index 175040350faf..03720545e537 100644 --- a/packages/google-cloud-python-speech/samples/snippets/transcribe_enhanced_model.py +++ b/packages/google-cloud-python-speech/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",