mirror of
https://github.com/santinic/audiblez.git
synced 2025-09-18 21:40:39 +00:00
Merge branch 'main' of github.com:santinic/audiblez
This commit is contained in:
commit
631510631a
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ def main(kokoro, file_path, lang, voice):
|
|||
i = 1
|
||||
chapter_mp3_files = []
|
||||
for text in texts:
|
||||
if len(text) == 0:
|
||||
continue
|
||||
chapter_filename = filename.replace('.epub', f'_chapter_{i}.wav')
|
||||
chapter_mp3_files.append(chapter_filename)
|
||||
if Path(chapter_filename).exists():
|
||||
|
|
Loading…
Add table
Reference in a new issue