Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Jul 13, 2024
1 parent 3956039 commit c3b5f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/live_portrait.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def count_live_portrait_mp4_files(output_dir: str) -> int:
ds=[]
#todo 视频的帧要对齐
for i in range(len(crop_info)):
if driving_video[i]:
if i in driving_video:
ds.append(driving_video[i])
else:
ds.append(last_d)
Expand Down

0 comments on commit c3b5f4a

Please sign in to comment.