Skip to content

Commit bef62e2

Browse files
puneithJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Fix README for speech (#413)
1 parent 3de8240 commit bef62e2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

speech/api/README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,20 @@ for more information.
4040

4141
### Install the dependencies
4242

43+
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].
44+
4345
* If you're running the `speech_rest.py` sample:
4446

4547
```sh
46-
$ pip install -r requirements-speech_rest.txt
48+
$ sudo pip install -r requirements-speech_rest.txt
4749
```
4850

4951
* If you're running the `speech_streaming.py` sample:
5052
5153
```sh
52-
$ pip install -r requirements-speech_grpc.txt
54+
$ sudo pip install -r requirements-speech_grpc.txt
5355
```
5456
55-
The sample uses the [PyAudio][pyaudio] library to stream audio from your
56-
computer's microphone. PyAudio depends on [PortAudio][portaudio], which may
57-
need to be compiled when you install PyAudio. If you run into compilation
58-
issues that mention PortAudio, you may have to [install some
59-
dependencies][pyaudio-install].
60-
6157
[pyaudio]: https://people.csail.mit.edu/hubert/pyaudio/
6258
[portaudio]: http://www.portaudio.com/
6359
[pyaudio-install]: https://people.csail.mit.edu/hubert/pyaudio/#downloads

0 commit comments

Comments
 (0)