feat: longer delay before playing the audio
This commit is contained in:
parent
245bfd21b7
commit
8381aa1f8b
1 changed files with 1 additions and 1 deletions
2
tts.py
2
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}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue