From 8381aa1f8b2fa6d9c95710d3a2a1669b3515db7c Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 2 Dec 2025 14:28:11 +0100 Subject: [PATCH] feat: longer delay before playing the audio --- tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts.py b/tts.py index d66ebb7..7a3989a 100644 --- a/tts.py +++ b/tts.py @@ -119,7 +119,7 @@ def play_audio(output_files): full_path = os.path.abspath(output) media = vlc_module.MediaPlayer(f"file://{full_path}") media.play() - sleep(0.2) + sleep(0.5) duration=media.get_length() / 1000 chunk=f"{i+1}/{length} " if length > 1 else "" description = f"\u25B6 {chunk}"