You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download model files (in the venv)
i. wget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/voices-v1.0.bin
ii. wget https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/kokoro-v1.0.onnx
Convert epub to audiobook
Create a new folder inside /books directory and put your epub file in that folder
Run python 00_epub_to_txt.py <folder_name>
Review the output.txt file generated inside the folder remove any unwanted content
Run python 01_text_cleanup.py <folder_name> to clean up the generated text
Run python 02_split_chapters.py <folder_name> to split the book into chapterwise text files
Run python 03_txt_to_speech.py ./<folder_name>/chapters/<input_file_name>.txt ./<folder_name>/audio/<output_file_name.wav> to convert a single file into audio or python 03_txt_to_speech.py <folder_name> to convert all the files
About
Converts a book in epub format to an chapterwise audiobook