Skip to content

Commit

Permalink
[docs] Install whisper dependencies by specifying extra
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Mar 30, 2024
1 parent f294669 commit 863b10a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Whisper (for Whisper users)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Whisper is **required if and only if you want to use whisper** (``recognizer_instance.recognize_whisper``).

You can install it with ``python3 -m pip install openai-whisper soundfile``.
You can install it with ``python3 -m pip install SpeechRecognition[whisper-local]``.

Whisper API (for Whisper API users)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -178,7 +178,7 @@ The library `openai <https://pypi.org/project/openai/>`__ is **required if and o

If not installed, everything in the library will still work, except calling ``recognizer_instance.recognize_whisper_api`` will raise an ``RequestError``.

You can install it with ``python3 -m pip install openai``.
You can install it with ``python3 -m pip install SpeechRecognition[whisper-api]``.

Troubleshooting
---------------
Expand Down

0 comments on commit 863b10a

Please sign in to comment.