Skip to content

Commit

Permalink
Add missing import for code sample [(#1898)](#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf authored and dandhlee committed Feb 9, 2023
1 parent c392311 commit 316ce1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions speech/snippets/transcribe_enhanced_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
def transcribe_file_with_enhanced_model(path):
"""Transcribe the given audio file using an enhanced model."""
# [START speech_transcribe_enhanced_model]
import io

from google.cloud import speech

client = speech.SpeechClient()

# path = 'resources/commercial_mono.wav'
Expand Down

0 comments on commit 316ce1d

Please sign in to comment.