fix: print text to speak

This commit is contained in:
Jan Häusler 2025-07-03 01:39:50 +02:00
parent 740f3a1e1b
commit b185ac664b

View file

@ -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