I am trying to get ChatGPT 4o to review a wav file I am uploading but it ggives me this error: It appears I encountered the same problem regarding the missing transcription library. Unfortunately, I can’t use the transcription module here.
In the analysis it says: NameError Traceback (most recent call last)
Cell In[6], line 6
3 audio_new = AudioSegment.from_file(audio_path_new)
5 # No need for conversion as it’s already in WAV format, proceed to transcription
----> 6 with sr.AudioFile(audio_path_new) as source_new:
7 audio_data_new = recognizer.record(source_new)
9 # Transcribe the audio
NameError: name ‘sr’ is not defined
How do I fix this?
Thanks,
Terry