From 8ce202a493294f8d98660c86d502edbfad74b741 Mon Sep 17 00:00:00 2001 From: geeker-smallwhite <1453684133@qq.com> Date: Thu, 31 Oct 2024 19:33:55 +0800 Subject: [PATCH] delete unused character (#1855) --- python/sglang/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/utils.py b/python/sglang/utils.py index 331b128e5..ef4713bd2 100644 --- a/python/sglang/utils.py +++ b/python/sglang/utils.py @@ -155,7 +155,7 @@ def encode_video_base64(video_path: str, num_frames: int = 16): frame_indices = np.linspace(0, total_frames - 1, num_frames, dtype=int) frames = [] - for i in range(total_frames): + for _ in range(total_frames): ret, frame = cap.read() if ret: frames.append(frame)