An open API service indexing awesome lists of open source software.

https://github.com/deepgram/numerals-on-off

Sample code for turning numerals on and off during a real-time audio stream.
https://github.com/deepgram/numerals-on-off

Last synced: over 1 year ago
JSON representation

Sample code for turning numerals on and off during a real-time audio stream.

Awesome Lists containing this project

README

          

# numerals-on-off
Sample code for turning numeral formatting on and off during a real-time audio stream.

## Usage

`python numerals_on_off.py -k $DEEPGRAM_API_KEY`

Once the script has started, speak into your microphone and Deepgram will output the transcript into your terminal.

Numeral formatting is disabled at the start of the script.

To enable it, say "numerals on" or "turn on numerals".

To disable it, say "numerals off" or "turn off numerals".

To close the connection and end the script, say "goodbye".

image

_Protip: store your Deepgram API key in an environment variable so it doesn't appear in your bash history._