NameError Traceback (most recent call last)
<ipython-input-4-8dadf0f27685> in <module>
56 try:
---> 57 audio_path = uploaded_file
58 if not os.path.exists(audio_path):
NameError: name 'uploaded_file' is not defined
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
<ipython-input-4-8dadf0f27685> in <module>
59 raise ValueError("Input audio not found. Is your audio_path correct?")
60 except NameError:
---> 61 raise ValueError("Input audio not found. Did you upload a file?")
62
63 out_path = os.path.splitext(audio_path)[0] + ".srt"
ValueError: Input audio not found. Did you upload a file?