Replies: 2 comments
-
I had a similar issue. I was able to fix the problem by adding these lines after the
at line 196 of whisper/transcribe.py. A PR could be made for this, unless we are using this wrong. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This also worked for me, following the code on this page, but it seems like we shouldn't need to make a change to the library code for this use case... |
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.
-
Trying to transcribe a tensor value, I get
which I've determined is because decode_result can be a DecodingResult or a List[DecodingResult], but the erroring line in transcribe.py, and in fact decode_with_fallback() in its entirety, doesn't expect model.decode() to return a list. Is this my problem for passing a tensor that can generate a list in model.decode(), or is this a bug?
Thanks,
Andy
Beta Was this translation helpful? Give feedback.
All reactions