nakas commited on
Commit
2da3d5e
1 Parent(s): 2cbbb84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ BATCHED_DURATION = 15
25
  INTERRUPTING = False
26
  # We have to wrap subprocess call to clean a bit the log when using gr.make_waveform
27
  _old_call = sp.call
28
- files = [
29
  "./out/mdx_extra_q/test/vocals.wav",
30
  "./out/mdx_extra_q/test/bass.wav",
31
  "./out/mdx_extra_q/test/drums.wav",
@@ -190,7 +190,7 @@ def inference(audio):
190
  print(f"Demucs script result: {result}")
191
  directory_name = os.path.splitext(os.path.basename(audio))[0]
192
 
193
- files = [
194
  f"./out/mdx_extra_q/{directory_name}/vocals.wav",
195
  f"./out/mdx_extra_q/{directory_name}/bass.wav",
196
  f"./out/mdx_extra_q/{directory_name}/drums.wav",
 
25
  INTERRUPTING = False
26
  # We have to wrap subprocess call to clean a bit the log when using gr.make_waveform
27
  _old_call = sp.call
28
+ files = ["./out/mdx_extra_q/test/full.wav",
29
  "./out/mdx_extra_q/test/vocals.wav",
30
  "./out/mdx_extra_q/test/bass.wav",
31
  "./out/mdx_extra_q/test/drums.wav",
 
190
  print(f"Demucs script result: {result}")
191
  directory_name = os.path.splitext(os.path.basename(audio))[0]
192
 
193
+ files = [audio,
194
  f"./out/mdx_extra_q/{directory_name}/vocals.wav",
195
  f"./out/mdx_extra_q/{directory_name}/bass.wav",
196
  f"./out/mdx_extra_q/{directory_name}/drums.wav",