Commit
·
28314a5
1
Parent(s):
3589927
lower pause_trashold to 1.5s
Browse files- src/transcriber.py +1 -1
src/transcriber.py
CHANGED
|
@@ -24,7 +24,7 @@ def write_srt(segments, max_words_per_line, srt_path, device_type):
|
|
| 24 |
|
| 25 |
# Pause and char heuristics
|
| 26 |
max_chars = 23 if device_type == "mobile" else 42
|
| 27 |
-
pause_threshold =
|
| 28 |
|
| 29 |
with open(srt_path, "w", encoding="utf-8") as file:
|
| 30 |
result = ""
|
|
|
|
| 24 |
|
| 25 |
# Pause and char heuristics
|
| 26 |
max_chars = 23 if device_type == "mobile" else 42
|
| 27 |
+
pause_threshold = 1.5
|
| 28 |
|
| 29 |
with open(srt_path, "w", encoding="utf-8") as file:
|
| 30 |
result = ""
|