smjain commited on
Commit
ee81677
1 Parent(s): 61a449e

Upload infertest.py

Browse files
Files changed (1) hide show
  1. infertest.py +1 -1
infertest.py CHANGED
@@ -458,7 +458,7 @@ def cut_vocal_and_inst(audio_path):
458
  #wavfile.write(vocal_path, audio_data[0], audio_data[1])
459
  #logs.append("Starting the audio splitting process...")
460
  #yield "\n".join(logs), None, None
461
- command = f"demucs --two-stems=vocals -n {split_model} {vocal_path} -o output"
462
  result = subprocess.Popen(command.split(), stdout=subprocess.PIPE, text=True)
463
  #for line in result.stdout:
464
  # logs.append(line)
 
458
  #wavfile.write(vocal_path, audio_data[0], audio_data[1])
459
  #logs.append("Starting the audio splitting process...")
460
  #yield "\n".join(logs), None, None
461
+ command = f"demucs --two-stems=vocals -n {split_model} {audio_path} -o output"
462
  result = subprocess.Popen(command.split(), stdout=subprocess.PIPE, text=True)
463
  #for line in result.stdout:
464
  # logs.append(line)