You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
696 B
Bash

#Switch to virtual python enviroment
source .venv/bin/activate
#install homebrew (https://brew.sh)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#Install brew dependencies
brew install portaudio
brew install ffmpeg
# Install python dependencies
pip install -U pyaudio # Microphone
pip install numpy
pip install pillow
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
pip install -U openai-whisper # Speech to text model (needed by speechrecognition)
pip install -U SpeechRecognition # Speech to text logic
pip install -U revChatGPT # Interacts with OpenAI ChatGPT
pip install speechbrain