Softcatala / whisper-ctranslate2

Whisper command line client compatible with original OpenAI client based on CTranslate2.
MIT License
880 stars 75 forks source link

Output language code in Json file #93

Closed lutangar closed 5 months ago

lutangar commented 5 months ago

Makes result compatible with the reference implementation. Json result file contains the language code in openai-whisper.

Language code should be considered more portable than the language name.

https://github.com/openai/whisper/blob/main/whisper/transcribe.py#L153

jordimas commented 5 months ago

Merged: https://github.com/Softcatala/whisper-ctranslate2/commit/94f4e0b29c30afaede1855afbc43b57b08156769

Thanks