Example of using Watson's Streaming Speech to Text websockets interface for real time transcription. Written in Python. WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
I ran the code in China on mac and encountered InputOverflow error from pyaudio now and then.
If I set
stream.read(CHUNK, exception_on_overflow=False)
, websocket occasionally gave invalidinput error.Any suggestion?