Ahsen Khaliq
commited on
Commit
·
f007468
1
Parent(s):
45b9477
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def inference(audio):
|
|
11 |
write('test.wav', audio[0], audio[1])
|
12 |
os.system("python3 -m demucs.separate -n demucs48_hq -d cpu test.wav -o out")
|
13 |
#audioname = Path(audio.name).stem
|
14 |
-
return "./out/demucs48_hq/
|
15 |
|
16 |
title = "Anime2Sketch"
|
17 |
description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
|
|
11 |
write('test.wav', audio[0], audio[1])
|
12 |
os.system("python3 -m demucs.separate -n demucs48_hq -d cpu test.wav -o out")
|
13 |
#audioname = Path(audio.name).stem
|
14 |
+
return "./out/demucs48_hq/test/vocals.wav"
|
15 |
|
16 |
title = "Anime2Sketch"
|
17 |
description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|