xihajun commited on
Commit
90dcff8
1 Parent(s): 135c3d8

change to mp3

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class SplitWavAudioMubin():
23
  t1 = from_min * 60 * 1000
24
  t2 = to_min * 60 * 1000
25
  split_audio = self.audio[t1:t2]
26
- split_audio.export(self.folder + '/' + split_filename, format="wav")
27
 
28
  def multiple_split(self, min_per_split):
29
  total_mins = math.ceil(self.get_duration() / 60)
 
23
  t1 = from_min * 60 * 1000
24
  t2 = to_min * 60 * 1000
25
  split_audio = self.audio[t1:t2]
26
+ split_audio.export(self.folder + '/' + split_filename, format="mp3")
27
 
28
  def multiple_split(self, min_per_split):
29
  total_mins = math.ceil(self.get_duration() / 60)