Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

word_timestamps - IndexError: list index out of range #178

Open
Reinmor opened this issue Apr 12, 2024 · 1 comment
Open

word_timestamps - IndexError: list index out of range #178

Reinmor opened this issue Apr 12, 2024 · 1 comment

Comments

@Reinmor
Copy link

Reinmor commented Apr 12, 2024

Hello.

Please help me with a few errors.

Processing a stereo call recording (.wav).
One channel is clean, on the second channel the voice assistant speaks.
I get the following error:

  File "/home/ubuser/D/test5.py", line 542, in <module>
    word_timestamps = filter_missing_timestamps(
  File "/home/ubuser/D/test5.py", line 334, in filter_missing_timestamps
    if word_timestamps[0].get("start") is None:
IndexError: list index out of range

How can I fix it or is it better to analyse only mono recordings?

@MahmoudAshraf97
Copy link
Owner

this has nothing to do with the channels as it's converted internally before processing, please upload the audio file to reproduce the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants