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.2a6.tar.gz
(523.5 kB
view details)
Built Distribution
File details
Details for the file ovos-stt-http-server-0.0.2a6.tar.gz
.
File metadata
- Download URL: ovos-stt-http-server-0.0.2a6.tar.gz
- Upload date:
- Size: 523.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf01028e9dac03c8241240620e9fe2cf246f47fbd8f4296e182f13c8d9a3018 |
|
MD5 | 3985f125e4551d8c24b90da4befb9d9b |
|
BLAKE2b-256 | 4d65e9615943badad27c7791090ee48e83c9c15256868419d3d75049d98a5a8e |
File details
Details for the file ovos_stt_http_server-0.0.2a6-py3-none-any.whl
.
File metadata
- Download URL: ovos_stt_http_server-0.0.2a6-py3-none-any.whl
- Upload date:
- Size: 522.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999ff83235fe8249344c9bb52715b8d20398e12c392047ed130ed037b263f3bf |
|
MD5 | 4ecddced6a6bd01f64feac9d74d31824 |
|
BLAKE2b-256 | b6385292aaf53b75c9671c930b1a7d2026a64978ef5ee63613d171e6f5c5e958 |