Skip to content

Commit

Permalink
added total duration
Browse files Browse the repository at this point in the history
  • Loading branch information
KunalTiwary committed Jun 5, 2024
1 parent 19386b2 commit a91547f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/projects/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def parse_json_for_ste(input_data_id):
if not data:
return []
matched_items = {}
total_duration = data.audio_duration
total_duration = data_item.audio_duration
for item in data["verbatim_transcribed_json"]:
start_end = (item["start"], item["end"])
if start_end not in matched_items:
Expand Down

0 comments on commit a91547f

Please sign in to comment.