Run the speech-to-text demo

On your host machine, replace SERVER_IP with the IP address of the server:

python -u deploy/demo_client.py --host_ip '<SERVER_IP>' --host_port 8000

After the client has connected, press and hold space (or ctrl if you modified the client demo) to talk. Once you release the space bar, a recording of your speech will be sent to the server, processed, returned, and then printed. This takes around 4x the length of the speech itself. Press escape (or shift) to exit.

Previous Next