chenxwh / cog-whisper

MIT License
81 stars 28 forks source link

Translated subtitles #6

Closed SonofUgly closed 1 year ago

SonofUgly commented 1 year ago

If translate to English is set, the only translation output is in a block of text even if transcription is set to output in subtitle format. The subtitle transcription is in the audio file's native language, but it should also be translated.

Also just a small aside, but there should be a blank line in between subtitle lines: Output Correct
156
00:06:03,000 --> 00:06:04,000
そのトーンで
157
00:06:04,000 --> 00:06:05,000
いやうまい
156
00:06:03,000 --> 00:06:04,000
そのトーンで

157
00:06:04,000 --> 00:06:05,000
いやうまい
playgroundjohn commented 1 year ago

Agree, any info on this?

chenxwh commented 1 year ago

added blank lines in the new pushed version, thanks for the suggestion!