Skip to main content

ovos stt plugin for whisper.cpp server

Project description

WHISPER SERVICE OVOS STT CLIENT

OpenVoiceOS plugin for Whisper service, compatible with free Whisper.cpp server

My motivation was to establish a one working STT system for whole household, additionally to Home Assistant I use it for Blurt gnome shell extension.

You need a running Whisper compatible API service, for example Whisper.cpp instance:

https://github.com/ggerganov/whisper.cpp/tree/master/examples/server

I run it on nvidia GPU with fantastic results with detailed inference on large model in usually about a second:

whisper.cpp/server -m whisper.cpp/models/ggml-large-v3-q5_0.bin --host 0.0.0.0 --port 8910 --print-realtime --print-progress

You can study whisper.cpp to get more information about running its STT service.

Install

pip install ovos-stt-plugin-whispercppserver

Configuration

~/.config/mycroft/mycroft.conf

{
  "stt": {
    "module": "ovos-stt-plugin-whispercppserver",
    "ovos-stt-plugin-whispercppserver": {
      "server": "http://192.168.41.49:8910/inference"
      "temperature": "0.0"
      "temperature_inc": "0.2"
      "timeout": 120
    }
  }
}

server: MANDATORY! your whisper.cpp inference path instance URI

temperature: Decoding temperature (default: 0.0)

temperature_inc: Temperature increment (default: 0.2)

timeout: timeout of inference request (default: 120 seconds)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_stt_plugin_whispercppserver-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ovos_stt_plugin_whispercppserver-0.0.1.tar.gz.

File metadata

File hashes

Hashes for ovos_stt_plugin_whispercppserver-0.0.1.tar.gz
Algorithm Hash digest
SHA256 66bbfa4842d4c45da5ab3ae718f5c861b9af2bb149c60ccc1c06423af145d38e
MD5 467a9a6a40839b0c36dc124637b422b0
BLAKE2b-256 d228fe0755734445d7b466e0979bd7f4eb329fd44eea783f0ab67ca67cfbf285

See more details on using hashes here.

File details

Details for the file ovos_stt_plugin_whispercppserver-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_plugin_whispercppserver-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fff67888823dba35d1e053d1c816ca04cf63f1b6470379b9bf0ff1dd31c284f
MD5 e4a91045e0ef286237594c05a8b08221
BLAKE2b-256 797884ad220ccfb4d38c40a0a7fdda0caa6501d72532a85790df5301f10e518b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page