realtime-transcription-playground
realtime-transcription-playground copied to clipboard
Add support for stop words being sent from client
Can be implemented either on the client-side or backend.
If in the backend, consider using this code in the listen_print_loop method.
if re.search(r"\b(exit|quit)\b", transcript, re.I):
print("Exiting..")
break