We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f7ffb commit d097f15Copy full SHA for d097f15
speech_to_docx.py
@@ -146,7 +146,7 @@ def main():
146
147
doc = Document()
148
for start_time, end_time, sentence_text in texts_with_timestamps:
149
- line = f'{start_time:.2f} - {end_time:.2f} - {sentence_text}'
+ line = f'{time_to_str(start_time)} - {time_to_str(end_time)} - {sentence_text}'
150
doc.add_paragraph(line)
151
doc.add_paragraph('')
152
doc.save(output_docx_fname)
0 commit comments