Spaces:
Runtime error
Runtime error
liuyang
commited on
Commit
·
5d33cf4
1
Parent(s):
af2c324
fix params
Browse files
app.py
CHANGED
|
@@ -633,7 +633,7 @@ class WhisperTranscriber:
|
|
| 633 |
fw_kwargs["prepend_punctuations"] = "\"'“¿([{-"
|
| 634 |
fw_kwargs["append_punctuations"] = "\"'.。,,!!??::”)]}、"
|
| 635 |
fw_kwargs["without_timestamps"] = False #True
|
| 636 |
-
fw_kwargs["max_initial_timestamp"] =
|
| 637 |
fw_kwargs["word_timestamps"] = True #False
|
| 638 |
|
| 639 |
# Choose between single and batched transcription per docs
|
|
|
|
| 633 |
fw_kwargs["prepend_punctuations"] = "\"'“¿([{-"
|
| 634 |
fw_kwargs["append_punctuations"] = "\"'.。,,!!??::”)]}、"
|
| 635 |
fw_kwargs["without_timestamps"] = False #True
|
| 636 |
+
fw_kwargs["max_initial_timestamp"] = 1.0
|
| 637 |
fw_kwargs["word_timestamps"] = True #False
|
| 638 |
|
| 639 |
# Choose between single and batched transcription per docs
|