For now, I was able to suppress the error by removing None from end_timestamps array. I understand that I lose some text towards the end of the video but for my use-case, that's not a problem. I wanted to bring this to your attention for a fix in the future. Let me know if you need anything additional. Thanks!
Hi,
I am getting the following error:
When I run ASR_diarization pipeline with the following video: https://drive.google.com/file/d/1wBwAs5Ubp-70fAf7uwevEu8XFlqksQja/view?usp=sharing
It's happening because the end timestamp of the last segment is None. I found this - https://github.com/huggingface/transformers/issues/23231.
For now, I was able to suppress the error by removing None from end_timestamps array. I understand that I lose some text towards the end of the video but for my use-case, that's not a problem. I wanted to bring this to your attention for a fix in the future. Let me know if you need anything additional. Thanks!