A Gradio web app demoing RT Speech Capabilities, using Speechmatics RT API and OpenAI ChatCompletion API.
Install all the required Python dependencies with:
pip3 install -r requirements.txt
Define your Speechmatics and OpenAI API keys:
export SM_API_KEY=XYZ
export OPENAI_API_KEY=ABCYou will also need to install FFmpeg.
Start the app with
python3 -m appand navigate to http://localhost:7860/ to view the app.
The Speechmatics Python SDK and CLI is documented at https://speechmatics.github.io/speechmatics-python.
The Speechmatics API and product documentation can be found at https://docs.speechmatics.com.