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:34]
val
whisper [2026/09/30 14:36] (current)
val
Line 10: Line 10:
  
 <​code>​ <​code>​
-(venv1) $ mkdir -p /root/tmp+(venv1) $ mkdir -p ~/tmp/
  
-(venv1) $ export TMPDIR=/root/tmp+(venv1) $ export TMPDIR=~/tmp/
  
-(venv1) $ pip install -U openai-whisper+(venv1) $ time pip install -U openai-whisper 
 +... 
 +real    8m1.635s 
 +...
  
-(venv1) $ wget https://​val.bmstu.ru/​unix/​Media/​speech.ogg+(venv1) $ wget https://​val.bmstu.ru/​unix/​Media/​speech.ogg ​  # или wav
  
-(venv1) $ whisper speech.ogg --model base --device cpu --language ru  # >/​dev/​null ​2>&1+(venv1) $ whisper speech.ogg --model base --device cpu --language ru --fp16 False # >/​dev/​null
  
 (venv1) $ cat speech.txt (venv1) $ cat speech.txt
 </​code>​ </​code>​
whisper.1782120897.txt.gz · Last modified: 2026/06/22 12:34 by val