Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
1d344dd
1
Parent(s):
ba6b59e
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def inference(audio):
|
|
7 |
os.mkdir("out")
|
8 |
os.system("python3 -m demucs.separate -n demucs48_hq -d cpu " +audio.name+" -o out")
|
9 |
audioname = Path(audio.name).stem
|
10 |
-
return "./out/demucs48_hq"+audioname+"/vocals.wav"
|
11 |
|
12 |
title = "Anime2Sketch"
|
13 |
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."
|
|
|
7 |
os.mkdir("out")
|
8 |
os.system("python3 -m demucs.separate -n demucs48_hq -d cpu " +audio.name+" -o out")
|
9 |
audioname = Path(audio.name).stem
|
10 |
+
return "./out/demucs48_hq/"+audioname+"/vocals.wav"
|
11 |
|
12 |
title = "Anime2Sketch"
|
13 |
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."
|