Upload KotobaWhisperPipeline
Browse files- kotoba_whisper.py +1 -1
kotoba_whisper.py
CHANGED
|
@@ -118,7 +118,7 @@ class KotobaWhisperPipeline(AutomaticSpeechRecognitionPipeline):
|
|
| 118 |
device: Union[int, "torch.device"] = None,
|
| 119 |
torch_dtype: Optional[Union[str, "torch.dtype"]] = None,
|
| 120 |
punctuator: bool = True,
|
| 121 |
-
stable_ts: bool =
|
| 122 |
**kwargs):
|
| 123 |
self.type = "seq2seq_whisper"
|
| 124 |
self.stable_ts = stable_ts
|
|
|
|
| 118 |
device: Union[int, "torch.device"] = None,
|
| 119 |
torch_dtype: Optional[Union[str, "torch.dtype"]] = None,
|
| 120 |
punctuator: bool = True,
|
| 121 |
+
stable_ts: bool = False,
|
| 122 |
**kwargs):
|
| 123 |
self.type = "seq2seq_whisper"
|
| 124 |
self.stable_ts = stable_ts
|