mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 19:45:31 +00:00
Update main.py
This commit is contained in:
parent
7cd7a79e7d
commit
5dc3ff468b
2
main.py
2
main.py
@ -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 "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():
|
if "exit" in text.lower():
|
||||||
break
|
break
|
||||||
print("agent invoked")
|
print("agent invoked")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user