7 unmodified lines8910111112137 unmodified linesshots_dir = Path('data/shots')files = sorted(shots_dir.glob('sample-*.webp')) def extract_frames(webp_path): frames = [] with Image.open(webp_path) as im: