Closed sebPomme closed 11 months ago
The add-on uses bashio to parse the config, etc. You should just be able to run the wyoming-vosk
image by itself with --uri 'tcp://0.0.0.0:10300' and
--data-dir
arguments (where
Thanks for taking time to answer me.
I just figured out where are my mistakes
Anyway I think you are talking about this image. Tried to use it and get
root@rpi-githuber:/opt/etc/docker-compose/wyoming-vosk# docker run -v /srv/docker_data/vosk:/data -p 10300:10300 rhasspy/wyoming-vosk:1.3.1 --data-dir=/data --download-dir=/data --data-dir=/share/vosk/models --sentences-dir=/share/vosk/sentences --correct-sentences=0 --language=fr --preload-language=fr --debug
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/wyoming_vosk/__main__.py", line 13, in <module>
from vosk import KaldiRecognizer, Model, SetLogLevel
File "/usr/local/lib/python3.11/dist-packages/vosk/__init__.py", line 36, in <module>
_c = open_dll()
^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/vosk/__init__.py", line 30, in open_dll
return _ffi.dlopen(os.path.join(dlldir, "libvosk.so"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: cannot load library '/usr/local/lib/python3.11/dist-packages/vosk/libvosk.so': libatomic.so.1: cannot open shared object file: No such file or directory
I patch it, and it works fine now. I have one question left: did you know where can I find the dockerfile for https://hub.docker.com/r/rhasspy/wyoming-vosk to make a contribution to install libatomic ?
Hi, I didn't have hassio-addons and I want to run vosk.
I try this:
my
docker-compose.yml
fileI put this configuration file in
/srv/docker_data/vosk/options.json
It's build. Then fail with on the run with
It's looks like this line fail but I can't find why.
Maybe I miss something obvious for a pro adddons user ? Mayby I have to put options.json somewhere else ?
Any help will be appreciated
pomme :apple: