Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def inference(audio_file, model_name, vocals, drums, bass, other, mp3, mp3_bitra
|
|
39 |
demucs.separate.main(shlex.split(cmd))
|
40 |
|
41 |
# Get the output file paths
|
42 |
-
output_dir = os.path.join("separated", model_name, os.path.splitext(os.path.basename(audio_file
|
43 |
stems = {
|
44 |
"vocals": os.path.join(output_dir, "vocals.wav"),
|
45 |
"drums": os.path.join(output_dir, "drums.wav"),
|
|
|
39 |
demucs.separate.main(shlex.split(cmd))
|
40 |
|
41 |
# Get the output file paths
|
42 |
+
output_dir = os.path.join("separated", model_name, os.path.splitext(os.path.basename(audio_file))[0])
|
43 |
stems = {
|
44 |
"vocals": os.path.join(output_dir, "vocals.wav"),
|
45 |
"drums": os.path.join(output_dir, "drums.wav"),
|