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

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

Companion plugin

Use with OpenVoiceOS companion plugin

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.2a5.tar.gz (523.3 kB view details)

Uploaded Source

Built Distribution

ovos_stt_http_server-0.0.2a5-py3-none-any.whl (522.5 kB view details)

Uploaded Python 3

File details

Details for the file ovos-stt-http-server-0.0.2a5.tar.gz.

File metadata

File hashes

Hashes for ovos-stt-http-server-0.0.2a5.tar.gz
Algorithm Hash digest
SHA256 60dff6544e1623fcf774497edd6d8ad40b6db20422196ce5a0f89d6c4aafa4cf
MD5 ab1caba0563118f2537f6549157b5c98
BLAKE2b-256 27fd90b27e44bb35f1e6fe421e86b40b09b92ff555f4b632503b9e5d70108a93

See more details on using hashes here.

File details

Details for the file ovos_stt_http_server-0.0.2a5-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_stt_http_server-0.0.2a5-py3-none-any.whl
Algorithm Hash digest
SHA256 69b48badf5041c4ce656d86e86176c831e8064de6eac2d428799d83ab157817a
MD5 2d48175060fac5c63565046a492bf29b
BLAKE2b-256 ba66b3731fe9d9e8b1d9fc6f4e2a726e9d5cd9b7808e1aff5699ca94f1263e95

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