MycroftAI / personal-backend

WORK IN PROGRESS: A Flask personal backend alternative for running your own version of https://home.mycroft.ai
Apache License 2.0
114 stars 32 forks source link

make default STT config just work #20

Closed JarbasAl closed 5 years ago

JarbasAl commented 5 years ago

if user did not set stt config, the default that is created is not valid

STT engines will fail to load because self.config == None

issue reported here - https://chat.mycroft.ai/community/pl/zs4y4nsz6tnsjmytsroc99aeaa

speechrecognition will use a demo key if credential is None, when i suggested this in mycroft-core it was discouraged, maybe i should make it add a field for credential in the config so it throws an error when stt is called?