From cc51c3ebe13aa5b8f062cf26ecd8d78c9f326afe Mon Sep 17 00:00:00 2001 From: puneith Date: Tue, 12 Jul 2016 14:41:14 -0700 Subject: [PATCH 1/2] Update README.md --- speech/api/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index a017e3276bf..cb3625d7d3e 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -40,24 +40,24 @@ for more information. ### Install the dependencies + The sample uses the [PyAudio][pyaudio] library to stream audio from your + computer's microphone. PyAudio depends on [PortAudio][portaudio], which may + need to be compiled when you install PyAudio. If you run into compilation + issues that mention PortAudio, you may have to [install some + dependencies][pyaudio-install]. + * If you're running the `speech_rest.py` sample: ```sh - $ pip install -r requirements-speech_rest.txt + $ sudo pip install -r requirements-speech_rest.txt ``` * If you're running the `speech_streaming.py` sample: ```sh - $ pip install -r requirements-speech_grpc.txt + $ sudo pip install -r requirements-speech_grpc.txt ``` - The sample uses the [PyAudio][pyaudio] library to stream audio from your - computer's microphone. PyAudio depends on [PortAudio][portaudio], which may - need to be compiled when you install PyAudio. If you run into compilation - issues that mention PortAudio, you may have to [install some - dependencies][pyaudio-install]. - [pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/ [portaudio]: http://www.portaudio.com/ [pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads From cba90671fd51c34326e3e36e4c79a82d4def9e3c Mon Sep 17 00:00:00 2001 From: puneith Date: Tue, 12 Jul 2016 14:43:27 -0700 Subject: [PATCH 2/2] Update README.md --- speech/api/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/speech/api/README.md b/speech/api/README.md index cb3625d7d3e..de472387bc8 100644 --- a/speech/api/README.md +++ b/speech/api/README.md @@ -40,11 +40,7 @@ for more information. ### Install the dependencies - The sample uses the [PyAudio][pyaudio] library to stream audio from your - computer's microphone. PyAudio depends on [PortAudio][portaudio], which may - need to be compiled when you install PyAudio. If you run into compilation - issues that mention PortAudio, you may have to [install some - dependencies][pyaudio-install]. +The sample uses the [PyAudio][pyaudio] library to stream audio from your computer's microphone. PyAudio depends on [PortAudio][portaudio], which may need to be compiled when you install PyAudio. If you run into compilation issues that mention PortAudio, you may have to [install some dependencies][pyaudio-install]. * If you're running the `speech_rest.py` sample: