Skip to content

voidful/whisper-live-asr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whisper Live Demo

How to run:

  1. generate cert:
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -sha256 -days 3650 -subj /CN=localhost -out cert.pem
  1. run server with voidful/whisper-small-zh-TW from huggingface:
PYTHONIOENCODING=utf8 python app.py --model voidful/whisper-small-zh-TW --port 443

or

docker compose up

  1. open https://localhost:443 in browser
  2. enjoy!

configuration

webad vad event bus api:
https://github.com/voidful/WeBAD/tree/master#webad-event-bus-api-solution

Notes

you can also generate cert from
https://certbot.eff.org/instructions