Skip to content

Commit

Permalink
make fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ylacombe committed Sep 12, 2024
1 parent a1217e8 commit 010cca7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/models/whisper/test_modeling_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,9 @@ def test_tiny_token_timestamp_generation_longform(self):
)

inputs = inputs.to(torch_device)
generate_outputs = model.generate(**inputs, return_segments=True, return_token_timestamps=True, return_timestamps=True)
generate_outputs = model.generate(
**inputs, return_segments=True, return_token_timestamps=True, return_timestamps=True
)

token_timestamps_shape = [
[segment["token_timestamps"].shape for segment in segment_list]
Expand Down

0 comments on commit 010cca7

Please sign in to comment.