Skip to content

Add _load_recognizer call in the main #15

@ASEperso

Description

@ASEperso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions