Update subgen.py

This commit is contained in:
McCloudS
2024-02-19 23:21:10 -07:00
committed by GitHub
parent 7e9b87c800
commit 097de8d462

View File

@@ -83,7 +83,7 @@ def appendLine(result):
lastSegment.id += 1
lastSegment.start += TIME_OFFSET
lastSegment.end += TIME_OFFSET
date_time_str = datetime.now().strftime("%d %B %Y %H:%M:%S")
date_time_str = datetime.now().strftime("%d %b %Y - %H:%M:%S")
lastSegment.text = f"Transcribed by whisperAI with faster-whisper ({whisper_model}) on {date_time_str}"
lastSegment.words = []
# lastSegment.words[0].word = lastSegment.text