Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -345,8 +345,8 @@ async def concat_story_audio(story: StoryCreationDTO, base_output: str, final_pa
|
|
| 345 |
bg_audio = bg_audio * loops
|
| 346 |
bg_audio = bg_audio[:len(scene_audio)] # trim to match scene
|
| 347 |
|
| 348 |
-
# fade out gradually (2 seconds)
|
| 349 |
-
bg_audio = bg_audio.fade_out(2000)
|
| 350 |
|
| 351 |
scene_audio = scene_audio.overlay(bg_audio)
|
| 352 |
# os.remove(bg_file)
|
|
|
|
| 345 |
bg_audio = bg_audio * loops
|
| 346 |
bg_audio = bg_audio[:len(scene_audio)] # trim to match scene
|
| 347 |
|
| 348 |
+
# # fade out gradually (2 seconds)
|
| 349 |
+
# bg_audio = bg_audio.fade_out(2000)
|
| 350 |
|
| 351 |
scene_audio = scene_audio.overlay(bg_audio)
|
| 352 |
# os.remove(bg_file)
|