Error when processing an MP3 file with base

#1
by cdeschenes - opened

Here is the error message.

ValueError: tuple.index(x): x not in tuple
Traceback:
File "/home/user/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/home/user/app/app.py", line 194, in
result = model.transcribe(
File "/home/user/.local/lib/python3.10/site-packages/whisperx/transcribe.py", line 187, in transcribe
result: DecodingResult = decode_with_fallback(segment)
File "/home/user/.local/lib/python3.10/site-packages/whisperx/transcribe.py", line 123, in decode_with_fallback
decode_result = model.decode(segment, options)
File "/home/user/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/whisperx/decoding.py", line 705, in decode
result = DecodingTask(model, options).run(mel)
File "/home/user/.local/lib/python3.10/site-packages/whisperx/decoding.py", line 468, in init
self.sot_index: int = self.initial_tokens.index(tokenizer.sot)

Sign up or log in to comment