Skip to content

Commit b0a2dbd

Browse files
vinnysenthiltelpirion
authored andcommitted
fix: Remove incorrect comment on enhanced models (#95)
Fixes http://b/140560084
1 parent 0187712 commit b0a2dbd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

speech/snippets/transcribe_enhanced_model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ def transcribe_file_with_enhanced_model(path):
4242
encoding=speech.RecognitionConfig.AudioEncoding.LINEAR16,
4343
sample_rate_hertz=8000,
4444
language_code="en-US",
45-
# Enhanced models are only available to projects that
46-
# opt in for audio data collection.
4745
use_enhanced=True,
4846
# A model must be specified to use enhanced model.
4947
model="phone_call",

0 commit comments

Comments
 (0)