From 863b10aae82f9a591a3f6291cc551743e3e14880 Mon Sep 17 00:00:00 2001 From: nikkie Date: Sat, 30 Mar 2024 14:24:39 +0000 Subject: [PATCH] [docs] Install whisper dependencies by specifying extra --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index d86ba5bf..50cae061 100644 --- a/README.rst +++ b/README.rst @@ -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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -178,7 +178,7 @@ The library `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 ---------------