wip: untested
This commit is contained in:
14
tests/test_whisper.py
Normal file
14
tests/test_whisper.py
Normal 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()
|
||||
Reference in New Issue
Block a user