Spaces:
Runtime error
Runtime error
Update src/utils.py
Browse files- src/utils.py +1 -1
src/utils.py
CHANGED
@@ -60,7 +60,7 @@ def write_vtt(transcript: Iterator[dict], file: TextIO,
|
|
60 |
maxLineWidth=None, highlight_words: bool = False):
|
61 |
iterator = __subtitle_preprocessor_iterator(transcript, maxLineWidth, highlight_words)
|
62 |
|
63 |
-
print("WEBVTT\n", file=file)
|
64 |
|
65 |
for segment in iterator:
|
66 |
text = segment['text'].replace('-->', '->')
|
|
|
60 |
maxLineWidth=None, highlight_words: bool = False):
|
61 |
iterator = __subtitle_preprocessor_iterator(transcript, maxLineWidth, highlight_words)
|
62 |
|
63 |
+
# print("WEBVTT\n", file=file)
|
64 |
|
65 |
for segment in iterator:
|
66 |
text = segment['text'].replace('-->', '->')
|