Rozinamax commited on
Commit
4ab6734
·
1 Parent(s): c1ec275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -67,10 +67,10 @@ def separate_audio_by_stem(audio_path, stem_count):
67
 
68
  elif stem_count == 4:
69
 
70
- vocals_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/vocals.wav"
71
- drums_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/drums.wav"
72
- bass_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/bass.wav"
73
- other_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/other.wav"
74
 
75
  print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
76
  print(f"{drums_path=} \t exists: {os.path.exists(drums_path)}")
 
67
 
68
  elif stem_count == 4:
69
 
70
+ vocals_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/vocals.mp3"
71
+ drums_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/drums.mp3"
72
+ bass_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/bass.mp3"
73
+ other_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/other.mp3"
74
 
75
  print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
76
  print(f"{drums_path=} \t exists: {os.path.exists(drums_path)}")