Skip to content

Commit

Permalink
Merge pull request #420 from AI4Bharat/translation_bugs
Browse files Browse the repository at this point in the history
Vo bug fix
  • Loading branch information
Shruti1229 authored Jul 24, 2023
2 parents df5d31b + 930e66e commit d0a870b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/voiceover/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit d0a870b

Please sign in to comment.