Add --language description

This commit is contained in:
Yuta Hayashibe 2022-09-24 09:26:37 +09:00
parent 528bf69ecb
commit e9e286de0f

View file

@ -15,10 +15,11 @@ git clone https://github.com/shirayu/whisper_streaming.git
cd whisper_streaming cd whisper_streaming
poetry install --only main poetry install --only main
# Run! # Run in English
poetry run whisper_streaming --language ja --model base -n 20 poetry run whisper_streaming --language en --model base -n 20
``` ```
- ``--language`` set the language to transcribe. The list of languages are shown with ``poetry run whisper_streaming -h``
- ``-n`` sets interval of parsing. Larger values can improve accuracy but consume more memory. - ``-n`` sets interval of parsing. Larger values can improve accuracy but consume more memory.
- ``--debug`` outputs logs for debug - ``--debug`` outputs logs for debug