diff --git a/main.py b/main.py index 78e4557..38efc3c 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 env("CHARACTER") in text.lower(): + if text and "hey" in text.lower() and env("CHARACTER").lower() in text.lower(): if "exit" in text.lower(): break print("agent invoked")