from local

This commit is contained in:
dohe0342 2023-01-27 17:00:37 +09:00
parent 4913a79c6f
commit 31936acd1a
2 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if not os.path.exists(save_dir):
wavs = sorted(glob.glob(f"{sys.argv[1]}/*.wav"))
for wav in wavs:
filename = wav.split('/')[-1].reaplce('.wav', '')
filename = wav.split('/')[-1].replace('.wav', '')
filename = os.path.join(save_dir, filename)
with open(f"{filename}.txt", "w") as file:
file.write('TBD')