wip: untested

This commit is contained in:
TomTom101
2024-05-31 22:30:52 +02:00
parent e60df3c7c0
commit ae049961b7
2 changed files with 71 additions and 30 deletions

14
tests/test_whisper.py Normal file
View File

@@ -0,0 +1,14 @@
import unittest
from pipecat.services.openai import WhisperTTSService
class TestWhisperOpenAIService(unittest.IsolatedAsyncioTestCase):
async def test_whisper_tts(self):
tts = WhisperTTSService()
# tts_response = await tts.run_tts("Hello, world")
await tts.say("Hi! If you want to talk to me, just say 'Hey Robot'.")
if __name__ == "__main__":
unittest.main()