diff --git a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py index 2567525..7a7a053 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py @@ -33,7 +33,10 @@ first_chunk = next(chunks) # Get the first chunk to set up audio stream configur try: - print(len(list(chunks))) # Print the amount of chunks + count = 1 + for chunk in chunks: # Play subsequent chunks of audio + count += 1 + print(count) # Print the amount of chunks except: print("Failed getting Chunk Count") try: