helloWorld199 commited on
Commit
c13f2b9
1 Parent(s): 7db64ba

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -1
src/main.py CHANGED
@@ -215,7 +215,7 @@ def add_audio_effects(audio_path, reverb_rm_size, reverb_wet, reverb_dry, reverb
215
  ]
216
  )
217
 
218
- with AudioFile(audio_path, always_2d=True) as f:
219
  with AudioFile(output_path, 'w', f.samplerate, f.num_channels) as o:
220
  # Read one second of audio at a time, until the file is empty:
221
  while f.tell() < f.frames:
 
215
  ]
216
  )
217
 
218
+ with AudioFile(audio_path) as f:
219
  with AudioFile(output_path, 'w', f.samplerate, f.num_channels) as o:
220
  # Read one second of audio at a time, until the file is empty:
221
  while f.tell() < f.frames: