Add _load_recognizer call in the main so that the recognizer will be defined.
Otherwise if the client (like HA) is not sending the optionnal transcribe event then we will loose the set model which is an issue if we are using model not present in the download.py because if the recognizer is not set then the get_model function will be called and the current model will be replaced by one of the download.py
As a workaround I choose a name in the list of download.py and give it to the model I want to use
Attaching to wyoming-vosk.txt
Add _load_recognizer call in the main so that the recognizer will be defined.
Otherwise if the client (like HA) is not sending the optionnal transcribe event then we will loose the set model which is an issue if we are using model not present in the download.py because if the recognizer is not set then the get_model function will be called and the current model will be replaced by one of the download.py
As a workaround I choose a name in the list of download.py and give it to the model I want to use
Attaching to wyoming-vosk.txt