Skip to content

Commit 5c63cd0

Browse files
anguillanneufengelke
authored andcommitted
Add missing import for code sample [(#1898)](GoogleCloudPlatform/python-docs-samples#1898)
1 parent 545a4e5 commit 5c63cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/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)