mirror of
https://github.com/maciej3031/comixify.git
synced 2026-03-11 08:54:35 +00:00
Fix bug
This commit is contained in:
parent
f702fe9df8
commit
44700b2fa1
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,8 @@ class KeyFramesExtractor:
|
|||
for frame_0, frame_1 in zip(frames[0::2], frames[1::2]):
|
||||
if frame_0["popularity"] > frame_1["popularity"]:
|
||||
chosen_frames.append(frame_0)
|
||||
chosen_frames.append(frame_1)
|
||||
else:
|
||||
chosen_frames.append(frame_1)
|
||||
return [o["frame"] for o in chosen_frames]
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue