Skip to content

Commit 9e64c0b

Browse files
authored
Update README.md
1 parent 0adb352 commit 9e64c0b

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ Not exactly, the dependencies clash, especially between conda and python (and de
677677
* Download the [latest version](https://github.com/rsxdalv/tts-generation-webui/archive/refs/heads/main.zip) and extract it.
678678
* Run start_tts_webui.bat or start_tts_webui.sh to start the server. It will ask you to select the GPU/Chip you are using. Once everything has installed, it will start the Gradio server at http://localhost:7770 and the React UI at http://localhost:3000.
679679
* Output log will be available in the installer_scripts/output.log file.
680+
* Note: The start script sets up a conda environment and a python virtual environment. Thus you don't need to make a venv before that, and in fact, launching from another venv might break this script.
680681

681682
### Manual installation (not recommended)
682683
* These instructions might not reflect all of the latest fixes and adjustments, but could be useful as a reference for debugging or understanding what the installer does. Hopefully they can be a basis for supporting new platforms, such as AMD/Intel.
@@ -687,29 +688,29 @@ Not exactly, the dependencies clash, especially between conda and python (and de
687688
* Install git, node.js `conda install -y -c conda-forge git python=3.10.11 conda-forge::nodejs=22.9.0 conda pip==23.3.2 conda-forge::uv=0.4.17 conda-forge::vswhere`
688689
* a) Either Continue with the installer script
689690
* activate the environment: `conda activate venv` and
690-
* `(venv) node installer_scripts\init_app.js`
691-
* then run the server with `(venv) python server.py`
691+
* (venv) `node installer_scripts\init_app.js`
692+
* then run the server with (venv) `python server.py`
692693
* b) Or install the requirements manually
693694
* Set up pytorch with CUDA or CPU (https://pytorch.org/audio/stable/build.windows.html#install-pytorch):
694-
* `(venv) conda install -y -k conda-forge::uv=0.4.17 conda-forge::vswhere conda-forge::postgresql=16.4 conda-forge::nodejs=22.9.0 conda-forge::ffmpeg=4.4.2[build=lgpl*] pytorch=2.3.1 torchvision torchaudio cpuonly -c pytorch` for CPU/Mac
695-
* `(venv) conda install -y -k conda-forge::uv=0.4.17 conda-forge::vswhere conda-forge::postgresql=16.4 conda-forge::nodejs=22.9.0 conda-forge::ffmpeg=4.4.2[build=lgpl*] pytorch[version=2.3.1,build=py3.10_cuda11.8*] pytorch-cuda=11.8 torchvision torchaudio cuda-toolkit ninja -c pytorch -c nvidia/label/cuda-11.8.0 -c nvidia` for CUDA
695+
* (venv) `conda install -y -k conda-forge::uv=0.4.17 conda-forge::vswhere conda-forge::postgresql=16.4 conda-forge::nodejs=22.9.0 conda-forge::ffmpeg=4.4.2[build=lgpl*] pytorch=2.3.1 torchvision torchaudio cpuonly -c pytorch` for CPU/Mac
696+
* (venv) `conda install -y -k conda-forge::uv=0.4.17 conda-forge::vswhere conda-forge::postgresql=16.4 conda-forge::nodejs=22.9.0 conda-forge::ffmpeg=4.4.2[build=lgpl*] pytorch[version=2.3.1,build=py3.10_cuda11.8.*] pytorch-cuda=11.8 torchvision torchaudio cuda-toolkit ninja -c pytorch -c nvidia/label/cuda-11.8.0 -c nvidia` for CUDA
696697
* Clone the repo: `git clone https://github.com/rsxdalv/tts-generation-webui.git`
697698
* Install the requirements:
698699
* install all the requirements*.txt (this list might not be up to date, check https://github.com/rsxdalv/tts-generation-webui/blob/main/Dockerfile#L39-L40):
699-
* `(venv) pip install -r requirements.txt`
700-
* `(venv) pip install -r requirements_audiocraft.txt`
701-
* `(venv) pip install -r requirements_bark_hubert_quantizer.txt`
702-
* `(venv) pip install -r requirements_rvc.txt`
703-
* `(venv) pip install hydra-core==1.3.2`
704-
* `(venv) pip install -r requirements_styletts2.txt`
705-
* `(venv) pip install -r requirements_vall_e.txt`
706-
* `(venv) pip install -r requirements_maha_tts.txt`
707-
* `(venv) pip install -r requirements_stable_audio.txt`
708-
* `(venv) pip install soundfile==0.12.1`
709-
* `(venv) pip install nvidia-ml-py`
710-
* build the react app: `(venv) cd react-ui && npm install && npm run build`
711-
* (optional) setup the database: `(venv) node installer_scripts/js/applyDatabaseConfig.js`
712-
* run the server: `(venv) python server.py`
700+
* (venv) `pip install -r requirements.txt`
701+
* (venv) `pip install -r requirements_audiocraft.txt`
702+
* (venv) `pip install -r requirements_bark_hubert_quantizer.txt`
703+
* (venv) `pip install -r requirements_rvc.txt`
704+
* (venv) `pip install hydra-core==1.3.2`
705+
* (venv) `pip install -r requirements_styletts2.txt`
706+
* (venv) `pip install -r requirements_vall_e.txt`
707+
* (venv) `pip install -r requirements_maha_tts.txt`
708+
* (venv) `pip install -r requirements_stable_audio.txt`
709+
* (venv) `pip install soundfile==0.12.1`
710+
* (venv) `pip install nvidia-ml-py`
711+
* build the react app: (venv) `cd react-ui && npm install && npm run build`
712+
* (optional) setup the database: (venv) `node installer_scripts/js/applyDatabaseConfig.js`
713+
* run the server: (venv) `python server.py`
713714

714715

715716
#### React UI

0 commit comments

Comments
 (0)