Spaces:
Running
Running
jhj0517
commited on
Commit
·
21e9b06
1
Parent(s):
79d567a
Fix default
Browse files
modules/whisper/data_classes.py
CHANGED
|
@@ -293,9 +293,9 @@ class WhisperParams(BaseParams):
|
|
| 293 |
default=True,
|
| 294 |
description="Suppress blank outputs at start of sampling"
|
| 295 |
)
|
| 296 |
-
suppress_tokens: Optional[Union[List, str]] = Field(default=[-1], description="Token IDs to suppress")
|
| 297 |
max_initial_timestamp: float = Field(
|
| 298 |
-
default=
|
| 299 |
ge=0.0,
|
| 300 |
description="Maximum initial timestamp"
|
| 301 |
)
|
|
|
|
| 293 |
default=True,
|
| 294 |
description="Suppress blank outputs at start of sampling"
|
| 295 |
)
|
| 296 |
+
suppress_tokens: Optional[Union[List[int], str]] = Field(default=[-1], description="Token IDs to suppress")
|
| 297 |
max_initial_timestamp: float = Field(
|
| 298 |
+
default=1.0,
|
| 299 |
ge=0.0,
|
| 300 |
description="Maximum initial timestamp"
|
| 301 |
)
|