Spaces:
Running
Running
jhj0517
commited on
Commit
·
9d581cb
1
Parent(s):
db85f5e
Fix default value
Browse files
modules/whisper/whisper_parameter.py
CHANGED
@@ -273,7 +273,7 @@ class WhisperValues:
|
|
273 |
diarization_device: str = "cuda"
|
274 |
length_penalty: float = 1.0
|
275 |
repetition_penalty: float = 1.0
|
276 |
-
no_repeat_ngram_size: int = 0
|
277 |
prefix: Optional[str] = None
|
278 |
suppress_blank: bool = True
|
279 |
suppress_tokens: Optional[str] = "[-1]"
|
|
|
273 |
diarization_device: str = "cuda"
|
274 |
length_penalty: float = 1.0
|
275 |
repetition_penalty: float = 1.0
|
276 |
+
no_repeat_ngram_size: int = 0
|
277 |
prefix: Optional[str] = None
|
278 |
suppress_blank: bool = True
|
279 |
suppress_tokens: Optional[str] = "[-1]"
|