feat: optimize code and bump version to 1.2.4

This commit is contained in:
harry
2025-05-08 15:44:07 +08:00
parent 6a19e2bb29
commit c7f7fa12b4
8 changed files with 246 additions and 340 deletions

View File

@@ -138,7 +138,6 @@ def combine_videos(
)
shuffle_side = random.choice(["left", "right", "top", "bottom"])
logger.info(f"Using transition mode: {video_transition_mode}")
if video_transition_mode.value == VideoTransitionMode.none.value:
clip = clip
elif video_transition_mode.value == VideoTransitionMode.fade_in.value: