diff --git a/yacyac_io/yacyac_io/tts.py b/yacyac_io/yacyac_io/tts.py index 4767a55..3b4c9e1 100755 --- a/yacyac_io/yacyac_io/tts.py +++ b/yacyac_io/yacyac_io/tts.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 from google.cloud import texttospeech -import os import playsound import rclpy as rp @@ -38,7 +37,7 @@ def callback_service(self, request, response): out.write(self.response.audio_content) playsound.playsound('output.mp3', block=False) - + return response