Skip to content

Commit a1160db

Browse files
anguillanneufbusunkim96
authored andcommitted
Add missing import for code sample [(#1898)](#1898)
1 parent 8bf5019 commit a1160db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

speech/snippets/transcribe_enhanced_model.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
def transcribe_file_with_enhanced_model(path):
2929
"""Transcribe the given audio file using an enhanced model."""
3030
# [START speech_transcribe_enhanced_model]
31+
import io
32+
3133
from google.cloud import speech
34+
3235
client = speech.SpeechClient()
3336

3437
# path = 'resources/commercial_mono.wav'

0 commit comments

Comments
 (0)