Update main.py

This commit is contained in:
maglore9900 2024-10-03 17:23:34 -04:00
parent 5dc3ff468b
commit 0734f91151

View File

@ -30,7 +30,7 @@ while True:
text = graph.spk.listen() text = graph.spk.listen()
# if text: # if text:
# print(f"User: {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(): if "exit" in text.lower():
break break
print("agent invoked") print("agent invoked")