diff options
author | Botond Hende <nettingman@gmail.com> | 2024-11-20 13:37:51 +0100 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-11-20 13:37:51 +0100 |
commit | 93eb7479e83494690e4eb51f2fb662c651a9fd5e (patch) | |
tree | e73548e7df148a66590b23c4a42d2c6dbe6db739 /__main__.py | |
parent | 528d65c6bd9954cfd96de57de05498dc4c563e0f (diff) |
voice control with whisper
Diffstat (limited to '__main__.py')
-rw-r--r-- | __main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/__main__.py b/__main__.py index 4677b7c..4aa3117 100644 --- a/__main__.py +++ b/__main__.py @@ -8,6 +8,7 @@ from .modules.hassil.recognize import recognize from .modules.hassil.util import merge_dict from .modules.hassil.intents import Intents, TextSlotList from .modules.input_handlers.stdin_input import get_input_stdin +from .modules.input_handlers.pipewire_record import get_input_pw_record from .modules.intents import * @@ -38,7 +39,7 @@ def main(): intents = Intents.from_dict(input_dict) - for input_text in get_input_stdin(): + for input_text in get_input_pw_record(): result = recognize(input_text, intents, slot_lists=slot_lists) if result is not None: result_dict = { |