Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files275 unmodified lines276277278279280281282283275 unmodified lines#logs.append("Starting the audio splitting process...")#yield "\n".join(logs), None, Noneprint("before executing splitter")command = f"CUDA_VISIBLE_DEVICES=0 demucs --two-stems=vocals -n {split_model} {audio_path} -o output/{spk_id}_{unique_id}"275 unmodified lines276277278279280281282283284285286275 unmodified lines#logs.append("Starting the audio splitting process...")#yield "\n".join(logs), None, Noneprint("before executing splitter")command = f"demucs --two-stems=vocals -n {split_model} {audio_path} -o output/{spk_id}_{unique_id}"env = os.environ.copy()# Add or modify the environment variable for this subprocessenv["CUDA_VISIBLE_DEVICES"] = "0"
myinfer_latest.py+5-2