This is the official Python Client BETA for SEPIA Speech-To-Text Server.
Check-out example.py for a simple demo.
- Make sure you have a STT-Server running somewhere (in your network), default:
http://localhost:20741
- Get the
python-client
folder from this repository - Install requirements:
pip install -r requirements_client.txt
- Make sure your microphone is connected
- Run the demo:
python example.py --server "http://localhost:20741"
or check the optionspython example.py -h
- If the connection to the server works you should see some info messages and a READY event appearing after a short time
- After the ready event press and hold 'r' to record audio and watch the transcription appear on the screen :-)
You can use the info messages on the screen to get valid options for 'language', 'task', 'model' and more.
If you'd like to build a more advanced Python client and/or like to share your work please feel free to open an new thread in the discussions section.