MariaKaiser commited on
Commit
ff80db0
·
verified ·
1 Parent(s): 28571be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -339,6 +339,7 @@ async def concat_story_audio(story: StoryCreationDTO, base_output: str, final_pa
339
 
340
  # Adjust volume
341
  bg_audio = bg_audio - (1 - scene.bgMusic.volume) * 30 # approximate
 
342
  # Loop if shorter than scene
343
  if len(bg_audio) < len(scene_audio):
344
  loops = (len(scene_audio) // len(bg_audio)) + 1
 
339
 
340
  # Adjust volume
341
  bg_audio = bg_audio - (1 - scene.bgMusic.volume) * 30 # approximate
342
+ bg_audio = bg_audio - 25
343
  # Loop if shorter than scene
344
  if len(bg_audio) < len(scene_audio):
345
  loops = (len(scene_audio) // len(bg_audio)) + 1