This commit is contained in:
litagin02
2024-01-03 10:36:00 +09:00
parent 704491d796
commit 30067335e1
5 changed files with 40 additions and 18 deletions

View File

@@ -70,6 +70,7 @@ if __name__ == "__main__":
language = Languages.ZH
else:
raise ValueError(f"{language} is not supported.")
logger.debug(f"Initial prompt: {initial_prompt}")
with open(output_file, "w", encoding="utf-8") as f:
for wav_file in tqdm(wav_files, file=SAFE_STDOUT):
file_name = os.path.basename(wav_file)