From 5dc3ff468b3a0da363a24a1079c4842d78240566 Mon Sep 17 00:00:00 2001 From: maglore9900 Date: Thu, 3 Oct 2024 17:22:38 -0400 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ce9d4ae..78e4557 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ while True: text = graph.spk.listen() # if text: # print(f"User: {text}") - if text and "hey" in text.lower() and "max" in text.lower() or text and "hey" in text.lower() and "mac" in text.lower()or text and "amax" in text.lower(): + if text and "hey" in text.lower() and env("CHARACTER") in text.lower(): if "exit" in text.lower(): break print("agent invoked")