and an appropriately-trained profile, I get the following result:
$ voice2json speak-sentence 'hello.'
[14] Failed to execute script __main__
Traceback (most recent call last):
File "voice2json/__main__.py", line 1766, in <module>
File "voice2json/__main__.py", line 353, in main
File "voice2json/__main__.py", line 1596, in speak
File "voice2json/__main__.py", line 1723, in speak_marytts
File "voice2json/__main__.py", line 1666, in start_marytts
File "subprocess.py", line 709, in __init__
File "subprocess.py", line 1344, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'java': 'java'
The above command with the exact same profile works as expected if I use the following custom Dockerfile:
It seems all that's missing is having a JRE installed in the official image, which seems to be installed by the .deb as one of its required dependencies.
Using a "bin" script of:
and an appropriately-trained profile, I get the following result:
The above command with the exact same profile works as expected if I use the following custom Dockerfile:
It seems all that's missing is having a JRE installed in the official image, which seems to be installed by the
.deb
as one of its required dependencies.