diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -1,6 +1,6 @@ # tts-audiobook-generator -Generate audiobooks from books (epub, txt, pdf) using text-to-speech backends such as `audio.cpp` and `qwen-tts`. +Generate audiobooks from books (epub, txt, pdf) using text-to-speech backends such as `audio.cpp` and `qwen-tts`. Installs and manages ## Overview @@ -8,7 +8,7 @@ The converter sends text extracted from your books to a locally running TTS serv - Input: `.txt`, `.pdf`, or `.epub` - Output: `.m4b`, `.mp3`, `.ogg`, or `.flac` -- Supports [audio.cpp](https://github.com/0xShug0/audio.cpp), [qwen-tts](https://pypi.org/project/qwen-tts/), and [faster-qwen3-tts](https://github.com/andimarafioti/faster-qwen3-tts) backend servers (audio.cpp can host any of its TTS model families, not just Qwen3-TTS) +- Supports [audio.cpp](https://github.com/0xShug0/audio.cpp), [qwen-tts](https://pypi.org/project/qwen-tts/), and [faster-qwen3-tts](https://github.com/andimarafioti/faster-qwen3-tts) backend servers - Output a single file or one per chapter - Automatic metadata (title/artist/album tags, chapter track numbers) and a generated cover - Supports text-to-speech, voice cloning, voice design, and per-model controls like emotion/speed @@ -18,11 +18,7 @@ The converter sends text extracted from your books to a locally running TTS serv - Python 3.12+ - ffmpeg -## Installation -Clone the repo. No manual environment setup is needed — `audiobook.py` -creates and manages its own virtual environment (`app/envs/tts`) the first time -it runs, installing its requirements and any backend TTS packages into it. ```bash git clone https://git.historia.vg/git/tts-audiobook-generator @@ -35,12 +31,6 @@ installs `requirements.txt` into it, and re-launches itself inside that environment. Backend packages (`qwen-tts`, `faster-qwen3-tts[demo]`) are pip-installed into the same venv by their setup wizards. -To add extras manually (e.g. FlashAttention), pip-install into the managed -venv directly: - -```bash -app/envs/tts/bin/python -m pip install flash-attn -``` Put your book files (epub, etc.) in the `input/` directory. The output goes to `output/`. |
