owiedotch commited on
Commit
1746d53
1 Parent(s): 2fa1b23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.name))[0])
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"),