Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1050fc

Browse filesBrowse files
anguillanneufengelke
authored andcommitted
Add missing import for code sample (GoogleCloudPlatform#1898)
1 parent 385ab68 commit e1050fc
Copy full SHA for e1050fc

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎speech/cloud-client/transcribe_enhanced_model.py

Copy file name to clipboardExpand all lines: speech/cloud-client/transcribe_enhanced_model.py
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.