aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/README.md b/README.md
index ecf4d04..44422b9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Qwen3 Audiobook Converter
-Convert TXT, PDF, EPUB, DOCX, and DOC files into audiobooks using the Qwen3-TTS voice model.
+Convert TXT, PDF, and EPUB files into audiobooks using the Qwen3-TTS voice model.
Original project: [https://github.com/WhiskeyCoder/Qwen3-Audiobook-Converter](https://github.com/WhiskeyCoder/Qwen3-Audiobook-Converter
). This repo just has minor fixes, flags, and documentation updates. It also splits the qwen3-tts server into two processes running models on different ports.
@@ -9,7 +9,7 @@ Original project: [https://github.com/WhiskeyCoder/Qwen3-Audiobook-Converter](ht
The converter sends text extracted from your books to a locally running Qwen3-TTS server and assembles the returned audio into a single audiobook file.
-- Supported input: `.txt`, `.pdf`, `.epub`, `.docx`, `.doc`
+- Supported input: `.txt`, `.pdf`, `.epub`
- Output: `.mp3`
- Two voice modes:
- Custom voice: pre-built speakers
@@ -75,7 +75,7 @@ Put your book files (epub, txt, etc.) in the `book_to_convert/` folder. Then run
python audiobook_converter.py
```
-Edit the parameters at the top of `audiobook_converter.py` to change which built-in voice is used.
+Edit `converter/config.py` to change which built-in voice is used.
```
CUSTOM_VOICE_SPEAKER = "Vivian" # Serena, Vivian, Uncle_Fu, Aiden, Ono_Anna, Sohee, Eric, Dylan
@@ -105,6 +105,14 @@ Adjust the speed of the final audiobook without changing pitch (uses ffmpeg `ate
python audiobook_converter.py --speed 0.9
```
+The `chunks/` folder is scratch space for the current book only — it is emptied before and after every conversion, so an interrupted run never affects the next one.
+
+## Running tests
+
+```bash
+python -m unittest discover -s tests -t .
+```
+
## FlashAttention (optional)
The server tries to use FlashAttention 2 by default, but `--no-flash-attn` works without it. On supported GPUs FlashAttention can give a modest speedup.