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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -339,7 +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
- 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
 
339
 
340
  # Adjust volume
341
  bg_audio = bg_audio - (1 - scene.bgMusic.volume) * 30 # approximate
342
+ bg_audio = bg_audio - 15
343
  # Loop if shorter than scene
344
  if len(bg_audio) < len(scene_audio):
345
  loops = (len(scene_audio) // len(bg_audio)) + 1