From 930e66e24a4fd6a83a9798ae5c9bf349fb31a5d1 Mon Sep 17 00:00:00 2001 From: Shruti1229 Date: Tue, 25 Jul 2023 02:20:07 +0530 Subject: [PATCH] Vo bug fix --- backend/voiceover/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/voiceover/utils.py b/backend/voiceover/utils.py index bb360d8d..d72da86c 100644 --- a/backend/voiceover/utils.py +++ b/backend/voiceover/utils.py @@ -400,9 +400,7 @@ def get_bad_sentences(translation_obj, target_language): def get_bad_sentences_in_progress(translation_obj, target_language): - tts_input = [] - empty_sentences = [] - delete_indices = [] + problem_sentences = [] translation = translation_obj.payload for ind, text in enumerate(translation["payload"]): if not compare_time(text["end_time"], text["start_time"])[0]: