Skip to content

Commit

Permalink
fix: Remove incorrect comment on enhanced models (#95)
Browse files Browse the repository at this point in the history
Fixes http://b/140560084
  • Loading branch information
vinnysenthil authored Dec 14, 2020
1 parent 2f6c306 commit e20b391
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions speech/snippets/transcribe_enhanced_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e20b391

Please sign in to comment.