Spaces:
Runtime error
Runtime error
Add space to timestamp in fasterWhisperContainer
Browse files
src/whisper/fasterWhisperContainer.py
CHANGED
@@ -139,7 +139,7 @@ class FasterWhisperCallback(AbstractWhisperCallback):
|
|
139 |
if progress_listener is not None:
|
140 |
progress_listener.on_progress(segment.end, info.duration)
|
141 |
if verbose:
|
142 |
-
print("[{}->{}]{}".format(format_timestamp(segment.start, True), format_timestamp(segment.end, True),
|
143 |
segment.text))
|
144 |
|
145 |
text = " ".join([segment.text for segment in segments])
|
|
|
139 |
if progress_listener is not None:
|
140 |
progress_listener.on_progress(segment.end, info.duration)
|
141 |
if verbose:
|
142 |
+
print("[{}->{}] {}".format(format_timestamp(segment.start, True), format_timestamp(segment.end, True),
|
143 |
segment.text))
|
144 |
|
145 |
text = " ".join([segment.text for segment in segments])
|