add debug
This commit is contained in:
@@ -95,6 +95,7 @@ def dictionary_process(process_file: ProcessFile) -> list[DictionaryResult]:
|
|||||||
f"{line['simplified']}。", language_id=LANGUAGES.CN
|
f"{line['simplified']}。", language_id=LANGUAGES.CN
|
||||||
)
|
)
|
||||||
torchaudio.save(audio_path, audio, TTS.MODEL.sr)
|
torchaudio.save(audio_path, audio, TTS.MODEL.sr)
|
||||||
|
print(line)
|
||||||
result = DictionaryResult(
|
result = DictionaryResult(
|
||||||
**line, audio_path=audio_path, language_id=process_file.language_id
|
**line, audio_path=audio_path, language_id=process_file.language_id
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user