diff --git a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py index 4485e3a..c36d5a5 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS 2nd.py @@ -29,7 +29,7 @@ syn_config = SynthesisConfig( ) chunks = voice.synthesize(texttospeak, syn_config=syn_config) # Set up Piper to stream audio from TextToSpeak -Lenght = str(len(chunks)) +Lenght = type(chunks) print(f"There are {Lenght} Chunks.") # Print the amount of chunks first_chunk = next(chunks) # Get the first chunk to set up audio stream configuration