diff --git a/lib/core.py b/lib/core.py index 58932330..b07c1043 100644 --- a/lib/core.py +++ b/lib/core.py @@ -1658,6 +1658,7 @@ def convert_chapters2audio(id:str)->bool: [f for f in os.listdir(session['chapters_dir_sentences']) if f.endswith(f'.{default_audio_proc_format}')], key=lambda x: int(re.search(r'\d+', x).group()) ) + print(f'----------{existing_sentences}----------') if existing_sentences: resume_sentence = max(int(re.search(r'\d+', f).group()) for f in existing_sentences) msg = f'Resuming from sentence {resume_sentence}'