Skip to content

Commit

Permalink
Fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Oct 31, 2024
1 parent 79d567a commit 21e9b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/whisper/data_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ class WhisperParams(BaseParams):
default=True,
description="Suppress blank outputs at start of sampling"
)
suppress_tokens: Optional[Union[List, str]] = Field(default=[-1], description="Token IDs to suppress")
suppress_tokens: Optional[Union[List[int], str]] = Field(default=[-1], description="Token IDs to suppress")
max_initial_timestamp: float = Field(
default=0.0,
default=1.0,
ge=0.0,
description="Maximum initial timestamp"
)
Expand Down

0 comments on commit 21e9b06

Please sign in to comment.