Skip to content

Commit

Permalink
Sort the SSA
Browse files Browse the repository at this point in the history
  • Loading branch information
HHousen committed Jul 28, 2023
1 parent 7b428c8 commit 0ef0da8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lecture2notes/end_to_end/summarization_approaches.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,8 @@ def structured_joined_sum(
ssa = json.load(ssa_file)
transcript_json = json.load(transcript_json_file)

ssa = sorted(ssa, key=lambda x: x["frame_number"])

transcript_json_idx = 0
current_time = 0

Expand Down

0 comments on commit 0ef0da8

Please sign in to comment.