Skip to content

Commit

Permalink
Merge pull request #414 from AI4Bharat/translation_bugs
Browse files Browse the repository at this point in the history
Add logs
  • Loading branch information
Shruti1229 authored Jul 24, 2023
2 parents 8780b92 + f737afa commit 3f1d4fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/voiceover/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def get_bad_sentences(translation_obj, target_language):
delete_indices.reverse()
for index in delete_indices:
translation["payload"].pop(index)
logging.info("delete_indices %s", str(delete_indices))
translation_obj.save()
for ind, text in enumerate(translation["payload"]):
if not compare_time(text["end_time"], text["start_time"])[0]:
Expand Down

0 comments on commit 3f1d4fe

Please sign in to comment.