mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
7e9b87c800
commit
097de8d462
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user