From a1160db6412f087d0cd9fedfa66d4777cf5e4a25 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Fri, 25 Jan 2019 14:20:46 -0800 Subject: [PATCH] Add missing import for code sample [(#1898)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/1898) --- speech/snippets/transcribe_enhanced_model.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/speech/snippets/transcribe_enhanced_model.py b/speech/snippets/transcribe_enhanced_model.py index 04ae3c184747..514d54812d03 100644 --- a/speech/snippets/transcribe_enhanced_model.py +++ b/speech/snippets/transcribe_enhanced_model.py @@ -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'