diff --git a/speech_to_text.py b/speech_to_text.py index d666c9a..3ab770a 100644 --- a/speech_to_text.py +++ b/speech_to_text.py @@ -208,6 +208,8 @@ class SpeechToText: # Initialize pygame mixer if not already done if not pygame.get_init(): pygame.mixer.init(frequency=self.rate, channels=self.channels) + + print("speaking text: ", text) print("Converting text to speech...") # Create a temporary file to store the TTS audio