getting started on 06-

This commit is contained in:
Moishe Lettvin
2024-01-10 13:00:36 -05:00
parent cd204ebd21
commit 7229fc806e
4 changed files with 95 additions and 9 deletions

View File

@@ -20,7 +20,6 @@ class GoogleAIService(AIService):
)
def run_tts(self, sentence):
print("running google tts")
synthesis_input = texttospeech.SynthesisInput(text = sentence.strip())
result = self.client.synthesize_speech(input=synthesis_input, voice=self.voice, audio_config=self.audio_config)
return result