smjain commited on
Commit
6137dd6
·
verified ·
1 Parent(s): 4d14907

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +1 -1
myinfer_latest.py CHANGED
@@ -276,7 +276,7 @@ def cut_vocal_and_inst(audio_path,spk_id,unique_id):
276
  #logs.append("Starting the audio splitting process...")
277
  #yield "\n".join(logs), None, None
278
  print("before executing splitter")
279
- command = f"demucs --two-stems=vocals -n {split_model} {audio_path} -o output/{spk_id}_{unique_id}"
280
 
281
 
282
 
 
276
  #logs.append("Starting the audio splitting process...")
277
  #yield "\n".join(logs), None, None
278
  print("before executing splitter")
279
+ command = f"CUDA_VISIBLE_DEVICES=0 demucs --two-stems=vocals -n {split_model} {audio_path} -o output/{spk_id}_{unique_id}"
280
 
281
 
282