kevinwang676 commited on
Commit
90ce5ab
1 Parent(s): 5dc9375

Update app_colab.py

Browse files
Files changed (1) hide show
  1. app_colab.py +1 -5
app_colab.py CHANGED
@@ -237,11 +237,7 @@ def convert(start_time, song_name_src, song_name_ref, ref_audio, check_song, aut
237
 
238
  vad("audio_ref.wav")
239
  else:
240
- multi_channel_audio = AudioSegment.from_file(ref_audio, format="wav")
241
-
242
- mono_audio = multi_channel_audio.set_channels(1)
243
-
244
- mono_audio.export("voiced_audio.wav", format="wav")
245
 
246
 
247
  #if os.path.isdir(f"./output/{split_model}/{song_id_src}")==False:
 
237
 
238
  vad("audio_ref.wav")
239
  else:
240
+ vad(ref_audio)
 
 
 
 
241
 
242
 
243
  #if os.path.isdir(f"./output/{split_model}/{song_id_src}")==False: