as i see the method is just doing some str merging job ,but it take much longer than i expected.
i.e a 7-minutes long audio file which take 30s to be processed with whisper and pyannote models, but i take 70s to processed by diarize_text method! i have no idea why this happen.
actually the variable diarization allready contain all the infomation we need, all we need to do is to concate it,right?
as i see the method is just doing some str merging job ,but it take much longer than i expected. i.e a 7-minutes long audio file which take 30s to be processed with whisper and pyannote models, but i take 70s to processed by diarize_text method! i have no idea why this happen. actually the variable diarization allready contain all the infomation we need, all we need to do is to concate it,right?