forked from mrq/ai-voice-cloning
18 lines
784 B
Bash
Executable File
18 lines
784 B
Bash
Executable File
#!/bin/bash
|
|
# get local dependencies
|
|
git submodule init
|
|
git submodule update --remote
|
|
# setup venv
|
|
python3 -m venv venv
|
|
source ./venv/bin/activate
|
|
python3 -m pip install --upgrade pip # just to be safe
|
|
# CUDA
|
|
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
|
|
# install requirements
|
|
python3 -m pip install -r ./requirements.txt # install local requirements
|
|
python3 -m pip install --force-reinstall -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements
|
|
python3 -m pip install --force-reinstall -e ./modules/tortoise-tts/ # install TorToiSe
|
|
python3 -m pip install --force-reinstall -r ./modules/dlas/requirements.txt # instal DLAS requirements, last, because whisperx will break a dependency here
|
|
rm *.bat
|
|
|
|
deactivate |