Unverified Commit 8ce202a4 authored by geeker-smallwhite's avatar geeker-smallwhite Committed by GitHub
Browse files

delete unused character (#1855)

parent d913d52c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment