Skip to content
Permalink
Browse files
docs: remove example usage from READMe (#46)
  • Loading branch information
busunkim96 committed Aug 13, 2020
1 parent 1799e85 commit 4214630c3318e6c9bc0a5156e20344956faf7d52
Showing 1 changed file with 0 additions and 18 deletions.
@@ -80,24 +80,6 @@ Windows
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-speech
Example Usage
~~~~~~~~~~~~~

.. code:: py
from google.cloud import speech_v1
from google.cloud.speech_v1 import enums
client = speech_v1.SpeechClient()
encoding = enums.RecognitionConfig.AudioEncoding.FLAC
sample_rate_hertz = 44100
language_code = 'en-US'
config = {'encoding': encoding, 'sample_rate_hertz': sample_rate_hertz, 'language_code': language_code}
uri = 'gs://bucket_name/file_name.flac'
audio = {'uri': uri}
response = client.recognize(config, audio)
Next Steps
~~~~~~~~~~

0 comments on commit 4214630

Please sign in to comment.