Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ def blend_vsfx(video_in, audio_result):
|
|
204 |
audioClip = audioClip.with_start(0).with_duration(clip.duration)
|
205 |
elif clip.duration > audioClip.duration :
|
206 |
clip = clip.subclip((0.0), (audioClip.duration))
|
207 |
-
final_clip = clip.
|
208 |
# Set the output codec
|
209 |
codec = 'libx264'
|
210 |
audio_codec = 'aac'
|
|
|
204 |
audioClip = audioClip.with_start(0).with_duration(clip.duration)
|
205 |
elif clip.duration > audioClip.duration :
|
206 |
clip = clip.subclip((0.0), (audioClip.duration))
|
207 |
+
final_clip = clip.with_audio(audioClip)
|
208 |
# Set the output codec
|
209 |
codec = 'libx264'
|
210 |
audio_codec = 'aac'
|