summaryrefslogtreecommitdiff
path: root/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to '__main__.py')
-rw-r--r--__main__.py3
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 = {