aboutsummaryrefslogtreecommitdiff
path: root/app/converter/clients/faster.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-26 17:46:48 -0400
committerhistoria <historiavg@proton.me>2026-08-26 17:46:48 -0400
commit6ccb6d443d2fb871b43d96ea61a95bc3e6a92355 (patch)
treed692ddccd6ec212cf4ebabb25a85e83af479d0fe /app/converter/clients/faster.py
parentc147087c9d4707bffaeee58d390653637a21cce8 (diff)
downloadtts-audiobook-generator-6ccb6d443d2fb871b43d96ea61a95bc3e6a92355.tar.gz
feat: combined install/configure tui screens into one menu, removed extraneous wizard screens
Diffstat (limited to 'app/converter/clients/faster.py')
-rw-r--r--app/converter/clients/faster.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/converter/clients/faster.py b/app/converter/clients/faster.py
index df98546..f0874e0 100644
--- a/app/converter/clients/faster.py
+++ b/app/converter/clients/faster.py
@@ -102,9 +102,8 @@ class FasterTTSClient(BaseTTSClient):
pcm_parts: List[bytes] = []
with self._chunk_heartbeat(chunk_num):
- for sub_num, sub_text in enumerate(sub_chunks, 1):
- pcm = self._request_pcm(sub_text)
- pcm_parts.append(pcm)
+ for sub_text in sub_chunks:
+ pcm_parts.append(self._request_pcm(sub_text))
output_path = self._chunk_path(chunk_num, ".wav")
with wave.open(str(output_path), "wb") as wav_file: