From bc90a0d223b08c135882bf19a57a6f2e1c1d3b22 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) --- .../samples/snippets/transcribe_enhanced_model.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google-cloud-speech/samples/snippets/transcribe_enhanced_model.py b/google-cloud-speech/samples/snippets/transcribe_enhanced_model.py index 04ae3c184747..514d54812d03 100644 --- a/google-cloud-speech/samples/snippets/transcribe_enhanced_model.py +++ b/google-cloud-speech/samples/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'