Thafx commited on
Commit
e2f1347
1 Parent(s): 46024fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,10 +8,10 @@ def inference(audio):
8
  write('test.wav', audio[0], audio[1])
9
  os.system("python3 -m demucs.separate -n htdemucs --two-stems=vocals -d cpu test.wav -o out")
10
  return "./out/htdemucs/test/vocals.wav","./out/htdemucs/test/no_vocals.wav"
11
-
12
- title = "Demucs"
13
- description = "Forked from https://huggingface.co/spaces/akhaliq/demucs/. updated demucs source to bleeding edge. switched model to demucs_ft for best quality. | Gradio demo for Demucs: Music Source Separation in the Waveform Domain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
14
- article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1911.13254' target='_blank'>Music Source Separation in the Waveform Domain</a> | <a href='https://github.com/facebookresearch/demucs' target='_blank'>Github Repo</a></p>"
15
 
16
  examples=[['test.mp3']]
17
  gr.Interface(
 
8
  write('test.wav', audio[0], audio[1])
9
  os.system("python3 -m demucs.separate -n htdemucs --two-stems=vocals -d cpu test.wav -o out")
10
  return "./out/htdemucs/test/vocals.wav","./out/htdemucs/test/no_vocals.wav"
11
+
12
+ title = "Demucs Music Source Separation (v4)"
13
+ description = "Gradio demo for Demucs(v4): Music Source Separation in the Waveform Domain.This was forked from https://huggingface.co/spaces/akhaliq/demucs/. The source code has been updated to the 'bleeding edge build'. For this space, 2 stem sepration (Karaoke Mode) has been enabled with the v4 Hybrid Transformer model for best quality & processing time. | Gradio demo for Demucs(v4): Music Source Separation in the Waveform Domain. To use it, simply upload your audio, or click one of the examples to load them. Read more at the links below."
14
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1911.13254' target='_blank'>Music Source Separation in the Waveform Domain</a> | <a href='https://github.com/facebookresearch/demucs' target='_blank'>Github Repo</a> | <a href='https://www.thafx.com' target='_blank'>//THAFX</a></p>"
15
 
16
  examples=[['test.mp3']]
17
  gr.Interface(