difrhythmnrve / run.py
rishabhsabnavis's picture
Upload 5 files
4a3b264 verified
raw
history blame contribute delete
540 Bytes
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"
])