python-speech-recognition-course
python-speech-recognition-course copied to clipboard
Minor issue
Thanks for the example code, it is helpful.
I noticed a small issue in the save_transcript() function - the else statement will never be executed because the if data: condition will always evaluate to True.
https://github.com/AssemblyAI-Examples/python-speech-recognition-course/blob/db2dddbbf01c4bd2ac546f154d05a075b6e4e0a7/02-simple-speech-recognition/api_02.py#L69
Thanks again for providing this code!