Skip to main content

simple aiohttp server to host OpenVoiceOS stt plugins as a service

Project description

OpenVoiceOS STT HTTP Server

Turn any OVOS STT plugin into a micro service!

Install

pip install ovos-stt-http-server

Companion plugin

Use in your voice assistant with OpenVoiceOS companion plugin

Configuration

the plugin is configured just like if it was running in the assistant, under mycroft.conf

eg

  "stt": {
    "module": "ovos-stt-plugin-deepgram",
    "ovos-stt-plugin-deepgram": {"key": "xtimes40"}
  }

Usage

ovos-stt-server --help
usage: ovos-stt-server [-h] [--engine ENGINE] [--port PORT] [--host HOST]

options:
  -h, --help                  show this help message and exit
  --engine ENGINE             stt plugin to be used
  --port PORT                 port number
  --host HOST                 host
  --lang LANG                 default language
  --gradio                    flag to enable Gradio web UI
  --cache                     flag to pre-cache examples in Gradio web UI
  --title TITLE               title for Gradio UI
  --description DESCRIPTION   Description for Gradio UI
  --info INFO                 Text to display in Gradio UI
  --badge BADGE               URL of badge to show in Gradio UI

Note: ffmpeg is required for Gradio

Docker

you can create easily create a docker file to serve any plugin

FROM python:3.7

RUN pip3 install ovos-stt-http-server==0.0.1

RUN pip3 install {PLUGIN_HERE}

ENTRYPOINT ovos-stt-http-server --engine {PLUGIN_HERE}

build it

docker build . -t my_ovos_stt_plugin

run it

docker run -p 8080:9666 my_ovos_stt_plugin

Each plugin can provide its own Dockerfile in its repository using ovos-stt-http-server

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-http-server-0.0.3a1.tar.gz (523.6 kB view details)

Uploaded Source

Built Distribution

ovos_stt_http_server-0.0.3a1-py3-none-any.whl (522.8 kB view details)

Uploaded Python 3

File details

Details for the file ovos-stt-http-server-0.0.3a1.tar.gz.

File metadata

File hashes

Hashes for ovos-stt-http-server-0.0.3a1.tar.gz
Algorithm Hash digest
SHA256 67b84308244a99513fd873451cbe19164b34123b90cbde4b61c709d15ba52f1d
MD5 75565f8b938aae22c1171e5e16b81e23
BLAKE2b-256 902e0e5c517b1fc97287ef07ca9e27b864aaffe8f00de1c2fbb8839f896e0261

See more details on using hashes here.

File details

Details for the file ovos_stt_http_server-0.0.3a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_http_server-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c41b8d0621a5ad6a9863e30bb8a6fcd2e9f25cdc21a73b8a7cf6890b58014f2
MD5 38a029fafd3394d3ac5daa1c55985c06
BLAKE2b-256 936f73f814a5ba7d09ecc1ae8fe274b18a2a22748cb0afcb8c6abdda7d880f20

See more details on using hashes here.

Supported by

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