Skip to content

Commit

Permalink
docs: remove example usage from READMe (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 authored Aug 13, 2020
1 parent 0f3aa4a commit e2ec918
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/google-cloud-python-speech/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~
Expand Down

0 comments on commit e2ec918

Please sign in to comment.