whisper-live

 docker run -d   --name whisper-live -p 9089:8080  -p 9090:9090   hwdsl2/whisper-live-server
 docker logs whisper-live
WhisperLive Docker - https://github.com/hwdsl2/docker-whisper-live

Starting WhisperLive real-time speech-to-text server...
  Model:          base
  Language:       auto
  WebSocket port: 9090
  REST API port:  8000
  Max clients:    4
  VAD:            true

Note: Model 'base' not found in cache. It will be downloaded
      from HuggingFace on first client connection. This may take several minutes.

The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
INFO:root:✅ OpenAI-Compatible API started on http://0.0.0.0:8000
INFO:     Started server process [90]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     127.0.0.1:33366 - "GET /docs HTTP/1.1" 200 OK

===========================================================
 WhisperLive real-time transcription server is ready
===========================================================
 Model:          base
 WebSocket:      ws://x.x.x.x:9090
 REST API:       http://x.x.x.x:8000
===========================================================

Connect a client (WebSocket streaming):
  ws://x.x.x.x:9090

Transcribe a file (REST API):
  curl http://x.x.x.x:8000/v1/audio/transcriptions \
    -F file=@audio.mp3 -F model=whisper-1

Interactive API docs: http://x.x.x.x:8000/docs

To set up HTTPS, see: Using a reverse proxy
  https://github.com/hwdsl2/docker-whisper-live#using-a-reverse-proxy

Setup complete.
Leave a Reply

Your email address will not be published. Required fields are marked *