selected_indices.append(sorted_frames[0]) IndexError: list index out of range. in the pipeline.py <img width="1036" height="234" alt="Image" src="https://github.com/user-attachments/assets/fe4fe075-c60f-4b49-8aaa-05d503cafd79" />