MariaKaiser commited on
Commit
c1730b4
·
verified ·
1 Parent(s): 83571c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -241,7 +241,7 @@ async def concat_story_audio(story: StoryCreationDTO, base_output: str, final_pa
241
 
242
  # --- Add SFX for location if available ---
243
  if scene.location.path:
244
- sfx_file = await download_file_from_url(scene.locationName)
245
  sfx_audio = AudioSegment.from_wav(sfx_file)
246
  scene_audio = scene_audio.overlay(sfx_audio)
247
  os.remove(sfx_file)
 
241
 
242
  # --- Add SFX for location if available ---
243
  if scene.location.path:
244
+ sfx_file = await download_file_from_url(scene.location.path)
245
  sfx_audio = AudioSegment.from_wav(sfx_file)
246
  scene_audio = scene_audio.overlay(sfx_audio)
247
  os.remove(sfx_file)