Note: This is not the official repository.
The written code is not well-organized.
Alternative ways to use Kokoro-TTS kokoro-onnx, Kokoro-FastAPI, kokoro, kokoro-web, Kokoro-Custom-Voice
My Python Version is 3.10.9.
git clone https://github.com/NeuralFalconYT/Kokoro-82M-WebUI.git
cd Kokoro-82M-WebUI
python -m venv myenv
This command creates a new Python virtual environment named myenv for isolating dependencies.
myenv\Scripts\activate
source myenv/bin/activate
This activates the virtual environment, enabling you to install and run dependencies in an isolated environment. Here’s the corrected version of point 4, with proper indentation for the subpoints:
Check CUDA Version (for GPU setup):
nvcc --version
Find your CUDA version example 11.8
Visit PyTorch Get Started and install the version compatible with your CUDA setup.:
pip install torch --index-url https://download.pytorch.org/whl/cu118
pip install torch --index-url https://download.pytorch.org/whl/cu121
pip install torch --index-url https://download.pytorch.org/whl/cu124
pip install torch
This installs the CPU-only version of PyTorch.pip install -r requirements.txt
This installs all the required Python libraries listed in the requirements.txt file.
python download_model.py
For Windows:
espeak-ng-X64.msi.C:\Program Files\eSpeak NG
Note: This default path is required for the application to locate eSpeak NG properly.
For Linux:
sudo apt-get -qq -y install espeak-ng > /dev/null 2>&1
Note: This command suppresses unnecessary output for a cleaner installation process.
Skip this step if you are using Windows. You only need FFmpeg if you plan to use it for subtitle dubbing feature. If you just want to use Kokoro TTS, you can skip this step too.
apt-get update
!apt-get install -y ffmpeg
To run the Gradio app, follow these steps:
Activate the Virtual Environment:
myenv\Scripts\activate
Run the Application:
python app.py
Alternatively, on Windows, double-click on run_app.bat to start the application.
Kokoro model, is licensed under the Apache License 2.0
The inference code adapted from StyleTTS2 is MIT licensed.
Model: Kokoro HuggingFace
Podcast Generation Inspiration: E2-F5-TTS
Voice Mix Feature: Make Custom Voices With KokoroTTS
AI Assistance:
ChatGPT
Google AI Studio
Github Copilot
131 commits
2 commits
Python
98.8%
Jupyter Notebook
1.2%
Note: This is not the official repository.
The written code is not well-organized.
Alternative ways to use Kokoro-TTS kokoro-onnx, Kokoro-FastAPI, kokoro, kokoro-web, Kokoro-Custom-Voice
My Python Version is 3.10.9.
git clone https://github.com/NeuralFalconYT/Kokoro-82M-WebUI.git
cd Kokoro-82M-WebUI
python -m venv myenv
This command creates a new Python virtual environment named myenv for isolating dependencies.
myenv\Scripts\activate
source myenv/bin/activate
This activates the virtual environment, enabling you to install and run dependencies in an isolated environment. Here’s the corrected version of point 4, with proper indentation for the subpoints:
Check CUDA Version (for GPU setup):
nvcc --version
Find your CUDA version example 11.8
Visit PyTorch Get Started and install the version compatible with your CUDA setup.:
pip install torch --index-url https://download.pytorch.org/whl/cu118
pip install torch --index-url https://download.pytorch.org/whl/cu121
pip install torch --index-url https://download.pytorch.org/whl/cu124
pip install torch
This installs the CPU-only version of PyTorch.pip install -r requirements.txt
This installs all the required Python libraries listed in the requirements.txt file.
python download_model.py
For Windows:
espeak-ng-X64.msi.C:\Program Files\eSpeak NG
Note: This default path is required for the application to locate eSpeak NG properly.
For Linux:
sudo apt-get -qq -y install espeak-ng > /dev/null 2>&1
Note: This command suppresses unnecessary output for a cleaner installation process.
Skip this step if you are using Windows. You only need FFmpeg if you plan to use it for subtitle dubbing feature. If you just want to use Kokoro TTS, you can skip this step too.
apt-get update
!apt-get install -y ffmpeg
To run the Gradio app, follow these steps:
Activate the Virtual Environment:
myenv\Scripts\activate
Run the Application:
python app.py
Alternatively, on Windows, double-click on run_app.bat to start the application.
Kokoro model, is licensed under the Apache License 2.0
The inference code adapted from StyleTTS2 is MIT licensed.
Model: Kokoro HuggingFace
Podcast Generation Inspiration: E2-F5-TTS
Voice Mix Feature: Make Custom Voices With KokoroTTS
AI Assistance:
ChatGPT
Google AI Studio
Github Copilot
131 commits
2 commits
Python
98.8%
Jupyter Notebook
1.2%