Whisper (CLI)
使用 whisper 在本機進行語音轉文字。
快速開始
whisper /path/audio.mp3 --model medium --output_format txt --output_dir .whisper /path/audio.m4a --task translate --output_format srt
備註
- 首次執行時,模型會下載至
~/.cache/whisper。 - 在此安裝環境中,
--model預設為turbo。 - 使用較小的模型可提升速度,較大的模型則可提升準確度。