User Tools

Site Tools


whisper

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
whisper [2026/06/22 12:05]
val
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]]   * [[Язык программирования Python#​Виртуальная среда Python]]
  
 <​code>​ <​code>​
-# apt install ​ffmpeg+(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>​ </​code>​
whisper.1782119102.txt.gz · Last modified: 2026/06/22 12:05 by val