Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,9 @@ def get_tango(prompt):
|
|
153 |
|
154 |
def blend_vsfx(video_in, audio_result):
|
155 |
audioClip = AudioFileClip(audio_result)
|
|
|
156 |
clip = VideoFileClip(video_in)
|
|
|
157 |
final_clip = clip.set_audio(audioClip)
|
158 |
# Set the output codec
|
159 |
codec = 'libx264'
|
|
|
153 |
|
154 |
def blend_vsfx(video_in, audio_result):
|
155 |
audioClip = AudioFileClip(audio_result)
|
156 |
+
print(f"AUD: {audioClip.duration}")
|
157 |
clip = VideoFileClip(video_in)
|
158 |
+
print(f"VID: {clip.duration}")
|
159 |
final_clip = clip.set_audio(audioClip)
|
160 |
# Set the output codec
|
161 |
codec = 'libx264'
|