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
Release history Release notifications | RSS feed
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.2a9.tar.gz
(523.6 kB
view details)
Built Distribution
File details
Details for the file ovos-stt-http-server-0.0.2a9.tar.gz
.
File metadata
- Download URL: ovos-stt-http-server-0.0.2a9.tar.gz
- Upload date:
- Size: 523.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8e6ed51f7a65cd48deaf8d81facb78da4e05406a3516f97c0da115d7ea6553 |
|
MD5 | 558a463787de9236fa51408dd404e44a |
|
BLAKE2b-256 | fcd12a4c484248ab21a0d86d7a61a2e11b4dad5321d196d5600f1b33a1e202a0 |
File details
Details for the file ovos_stt_http_server-0.0.2a9-py3-none-any.whl
.
File metadata
- Download URL: ovos_stt_http_server-0.0.2a9-py3-none-any.whl
- Upload date:
- Size: 522.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c98b2128874d81a9c44679170a1c1cd892a5a981c354448cddf7fe9c26c1ae |
|
MD5 | fad4743be1f61ce0b42fb4e736576847 |
|
BLAKE2b-256 | e983380bfc63d7f5b4807ba168db4e5ffa5f14744e52697d87b5af2c1d8ebe9f |