Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files- 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 |
|