User Tools

Site Tools


whisper

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
whisper [2026/06/22 11:52]
val created
whisper [2026/06/22 13:27] (current)
val
Line 2: Line 2:
  
   * [[https://​github.com/​openai/​whisper]]   * [[https://​github.com/​openai/​whisper]]
 +
 +<​code>​
 +# apt install ffmpeg
 +</​code>​
 +
 +  * [[Язык программирования Python#​Виртуальная среда Python]]
 +
 +<​code>​
 +(venv1) $ mkdir -p ~/tmp/
 +
 +(venv1) $ export TMPDIR=~/​tmp/​
 +
 +(venv1) $ pip install -U openai-whisper
 +
 +(venv1) $ wget https://​val.bmstu.ru/​unix/​Media/​speech.ogg
 +
 +(venv1) $ whisper speech.ogg --model base --device cpu --language ru  # >/​dev/​null 2>&1
 +
 +(venv1) $ cat speech.txt
 +</​code>​
whisper.1782118361.txt.gz · Last modified: 2026/06/22 11:52 by val