RexChan commited on
Commit
37d0c01
·
verified ·
1 Parent(s): d1641ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def audio_preprocess(file_name = '/test1/vocals.wav'):
23
  end_time = 110000 # e.g. 40 seconds, 40000
24
 
25
 
26
- audio = AudioSegment.from_file(file_name)
27
  cropped_audio = audio[start_time:end_time]
28
  processed_audio = cropped_audio
29
  # .export('cropped_vocals.wav', format='wav') # save vocal audio file
 
23
  end_time = 110000 # e.g. 40 seconds, 40000
24
 
25
 
26
+ audio = AudioSegment.from_file(output_file) #(file_name)
27
  cropped_audio = audio[start_time:end_time]
28
  processed_audio = cropped_audio
29
  # .export('cropped_vocals.wav', format='wav') # save vocal audio file