File size: 540 Bytes
4a3b264 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import subprocess
import os
# Absolute path to the folder where this script is located
script_dir = os.path.dirname(os.path.abspath(__file__))
# Change working directory to a specific path
os.chdir(script_dir)
subprocess.run([
"python", "custom_infer/load_run.py",
"--lrc-path", "infer/example/Custom_Lyrics/badIdeaRight.lrc",
"--ref-audio-path", "infer/example/Custom_Wav/badIdeaRight.mp3",
"--audio-length", "95",
"--model-dir", "saved_models/model95-1_2",
"--output-dir", "/content/Bad_Idea",
"--chunked"
])
|