An attempt to implement a local interpreter.
That version uses a Mac OS–specific feature: subprocess.run(["say", ...]).
python3 -m venv venv
source venv/bin/activate
(.venv) pip install git+https://github.com/openai/whisper.git (the Whisper model will be downloaded!)
pip install transformers
pip install sentencepiece
(optional) pip install sacremoses
//deactivate
Tell your IDE to use the correct Python interpreter.
Run.
To have it working with RAM, one can proceed as follows:
pip install sounddevice numpy openai-whisper