Update video.py - Fixing BackGround Music Volume Multiplier

These was a typo in MuiliplyVolume function parameter. The name of the parameter should be bgm_voice
This commit is contained in:
VIPIN BIHARI 2025-01-29 21:08:17 +05:30 committed by GitHub
parent e2e92a433e
commit 6500cafa4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,7 +337,7 @@ def generate_video(
try:
bgm_clip = AudioFileClip(bgm_file).with_effects(
[
afx.MultiplyVolume(params.voice_volume),
afx.MultiplyVolume(params.bgm_volume),
afx.AudioFadeOut(3),
afx.AudioLoop(duration=video_clip.duration),
]