I am using Whisper to transcribe and I am getting the below error, unable to figure out the issue. #1709
Unanswered
Suma-Rajashankar
asked this question in
Q&A
Replies: 2 comments
-
I had the same error in decoding.py, but on a different line (still setting self.sot_index though). If you compare the line of the error your getting with the current source code, you'll see the source code has since been updated. I simply updated my version of whisper to get it working. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much Chris for your feedback. Yes, I uninstalled openai-whisper and reinstalled it with the latest version and it's working now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Whisper to transcribe an audio file. I have installed Python3.9, ffmpeg and the associated dependencies, and openai-whisper==20230308. I could import whisper, but when I try to run transcribe:
audio = f'audio/testaudio.wav' model = whisper.load_model("base")
result = model.transcribe(audio, fp16=False,language="en")
...I get the following error:
Has anybody faced a similar issue? Any help would be appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions