openfree commited on
Commit
a74793f
·
verified ·
1 Parent(s): ab18dac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -676,11 +676,8 @@ def merge_videos_with_audio(video_files, audio_file, audio_volume, output_fps):
676
  adjusted_clips = []
677
  for clip, size in zip(video_clips, clip_sizes):
678
  if size != (target_width, target_height):
679
- # ▶︎ 여기만 수정
680
- adjusted_clip = clip.fx(
681
- vfx.resize, # 효과 함수
682
- newsize=(target_width, target_height) # 목표 크기
683
- )
684
  adjusted_clips.append(adjusted_clip)
685
  else:
686
  adjusted_clips.append(clip)
 
676
  adjusted_clips = []
677
  for clip, size in zip(video_clips, clip_sizes):
678
  if size != (target_width, target_height):
679
+ adjusted_clip = vfx.resize(clip, newsize=(target_width, target_height))
680
+
 
 
 
681
  adjusted_clips.append(adjusted_clip)
682
  else:
683
  adjusted_clips.append(clip)