Skip to content

Commit 8507ee0

Browse files
sanchit-gandhisanchit-gandhi
authored andcommitted
fix after rebase
1 parent 1fa3637 commit 8507ee0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/transformers/models/whisper/generation_whisper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ def generate(
684684
synced_gpus=synced_gpus,
685685
return_token_timestamps=return_token_timestamps,
686686
do_condition_on_prev_tokens=do_condition_on_prev_tokens,
687+
is_shortform=is_shortform,
687688
batch_size=batch_size,
688689
kwargs=kwargs,
689690
)
@@ -787,6 +788,7 @@ def generate_with_fallback(
787788
synced_gpus,
788789
return_token_timestamps,
789790
do_condition_on_prev_tokens,
791+
is_shortform,
790792
batch_size,
791793
kwargs,
792794
):

0 commit comments

Comments
 (0)