Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
docs: remove example usage from READMe (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Aug 13, 2020
1 parent 1799e85 commit 4214630
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions README.rst
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 4214630

Please sign in to comment.