Skip to content

Commit

Permalink
fix test_tiny_longform_timestamps_generation
Browse files Browse the repository at this point in the history
  • Loading branch information
eustlb committed Nov 2, 2024
1 parent 400fd02 commit 121424d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/models/whisper/test_modeling_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2130,12 +2130,12 @@ def test_tiny_longform_timestamps_generation(self):
{"text": " are as national as a jingo poem.", "timestamp": (40.32, 44.72)},
{
"text": " Mr. Birkut Foster's landscapes smile at one much in the same way that Mr. Carker used",
"timestamp": (44.72, 50.4),
"timestamp": (44.72, 50.400000000000006),
},
{"text": " to flash his teeth.", "timestamp": (50.4, 52.96)},
{"text": " to flash his teeth.", "timestamp": (50.400000000000006, 52.96)},
{
"text": " And Mr. John Collier gives his sitter a cheerful slap on the back before he says, like",
"timestamp": (52.96, 58.68),
"timestamp": (52.96, 58.68000000000001),
},
{"text": " a shampoo and a Turkish bath next man.", "timestamp": (58.68, 61.96)},
]
Expand Down

0 comments on commit 121424d

Please sign in to comment.