-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup_mac38.sh
More file actions
31 lines (31 loc) · 1.03 KB
/
setup_mac38.sh
File metadata and controls
31 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
python3.8 utils/check_version.py || exit
echo "1/4 Installing Speech to text"
brew install portaudio
cd rg_speech_to_text
python3.8 -m venv venv
venv/bin/python -m pip install --upgrade pip setuptools
venv/bin/python -m pip install torch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2
venv/bin/python -m pip install -r requirements-linux.txt
cd ..
echo "2/4 Installing Text to sound"
cd rg_text_to_sound
python3.8 -m venv venv
venv/bin/python -m pip install --upgrade pip setuptools
venv/bin/python -m pip install -r tts_websocketserver/requirements.txt
cd tts_websocketserver/src
../../venv/bin/python -m tts_websocketserver.initialize
cd ../..
cd ..
echo "3/4 Installing Sound Generation"
cd ./rg_sound_generation
python3.8 -m venv venv
venv/bin/python -m pip install --upgrade pip setuptools
venv/bin/python -m pip install -r requirements.txt
cd ..
echo "4/4 Installing Production"
brew install csound
cd rg_production
python3.8 -m venv venv
venv/bin/python -m pip install --upgrade pip setuptools
venv/bin/python -m pip install -r requirements.txt
cd ..