Skip to content

Commit 7884471

Browse files
fix bug
1 parent e54eeb6 commit 7884471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Hunyuanvideo_Video_Edit/hyvideo/inference.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def predict(
432432
source_video = read_video_from_path(source_video_path, transform_name='norm').unsqueeze(0)
433433
source_video = self.adjust_video_frames(source_video).to(torch.float16)
434434
# import pdb;pdb.set_trace()
435-
width, height, video_length = source_video.shape[3], source_video.shape[4], source_video.shape[2]
435+
height, width, video_length = source_video.shape[3], source_video.shape[4], source_video.shape[2]
436436
out_dict = dict()
437437

438438
# ========================================================================

0 commit comments

Comments
 (0)