We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51cc9d4 commit 78b9306Copy full SHA for 78b9306
packages/google-cloud-python-speech/README.rst
@@ -80,24 +80,6 @@ Windows
80
<your-env>\Scripts\activate
81
<your-env>\Scripts\pip.exe install google-cloud-speech
82
83
-Example Usage
84
-~~~~~~~~~~~~~
85
-
86
-.. code:: py
87
88
- from google.cloud import speech_v1
89
- from google.cloud.speech_v1 import enums
90
91
- client = speech_v1.SpeechClient()
92
93
- encoding = enums.RecognitionConfig.AudioEncoding.FLAC
94
- sample_rate_hertz = 44100
95
- language_code = 'en-US'
96
- config = {'encoding': encoding, 'sample_rate_hertz': sample_rate_hertz, 'language_code': language_code}
97
- uri = 'gs://bucket_name/file_name.flac'
98
- audio = {'uri': uri}
99
100
- response = client.recognize(config, audio)
101
102
Next Steps
103
~~~~~~~~~~
0 commit comments