mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Add files via upload
This commit is contained in:
parent
1d70584ac9
commit
94ee71d9d5
@ -98,9 +98,10 @@ for line in lines[int(i_part)::int(all_parts)]:
|
||||
try:
|
||||
# wav_name,text=line.split("\t")
|
||||
wav_name, spk_name, language, text = line.split("|")
|
||||
if (inp_wav_dir != ""):
|
||||
if (inp_wav_dir !=None):
|
||||
wav_name = os.path.basename(wav_name)
|
||||
wav_path = os.path.join(inp_wav_dir, wav_name)
|
||||
wav_path = "%s/%s"%(inp_wav_dir, wav_name)
|
||||
|
||||
else:
|
||||
wav_path=wav_name
|
||||
wav_name = os.path.basename(wav_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user