Skip to content

Commit

Permalink
fix:utterances (#3)
Browse files Browse the repository at this point in the history
typo in emitted bus message
  • Loading branch information
JarbasAl authored Oct 25, 2024
1 parent 63badca commit 8700525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_simple_listener/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def error_callback(cls, audio: sr.AudioData):
def text_callback(cls, utterance: str, lang: str):
LOG.info(f"STT: {utterance}")
cls.bus.emit(Message("recognizer_loop:utterance",
{"utterances": utterance, "lang": lang}))
{"utterances": [utterance], "lang": lang}))


def main():
Expand Down

0 comments on commit 8700525

Please sign in to comment.