Spaces:
Sleeping
Sleeping
Upload myinfer_latest.py
Browse files275 unmodified lines276277278279280279280281282283284285286275 unmodified lines #logs.append("Starting the audio splitting process...") #yield "\n".join(logs), None, None print("before executing splitter") command = f"CUDA_VISIBLE_DEVICES=0 demucs --two-stems=vocals -n {split_model} {audio_path} -o output/{spk_id}_{unique_id}" 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 subprocess env["CUDA_VISIBLE_DEVICES"] = "0" myinfer_latest.py+5-2