Spaces:
Paused
Paused
Update pipeline.py
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
@@ -335,5 +335,5 @@ def calculate_speed_factor(video_duration, audio_duration):
|
|
335 |
"""
|
336 |
Calculate the speed factor to align audio with video.
|
337 |
"""
|
338 |
-
|
339 |
-
return 1
|
|
|
335 |
"""
|
336 |
Calculate the speed factor to align audio with video.
|
337 |
"""
|
338 |
+
return audio_duration / video_duration
|
339 |
+
#return 1
|