Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 2f6163a

Browse files
anguillanneufbusunkim96
authored andcommitted
Add missing import for code sample [(#1898)](GoogleCloudPlatform/python-docs-samples#1898)
1 parent 8c2e1e4 commit 2f6163a

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)