From f408feb3f19013182dadb1b27b69ec5f0dea650e Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Sun, 17 Nov 2024 15:57:43 +0000 Subject: [PATCH] fix/search_from_GUI (#30) --- ocp_pipeline/opm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocp_pipeline/opm.py b/ocp_pipeline/opm.py index deb903f..370f904 100644 --- a/ocp_pipeline/opm.py +++ b/ocp_pipeline/opm.py @@ -483,7 +483,7 @@ def handle_play_search(self, message: Message): LOG.info("searching and playing best OCP result") utterance = message.data["utterance"].lower() match = self._process_play_query(utterance, self.lang, {"conf": 1.0}) - self.bus.emit(message.forward(match.intent_type, match.intent_data)) + self.bus.emit(message.forward(match.match_type, match.match_data)) def handle_play_favorites_intent(self, message: Message): LOG.info("playing favorite tracks")