mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 19:45:31 +00:00
13 lines
219 B
Python
13 lines
219 B
Python
from modules import adapter, speak
|
|
|
|
|
|
sp = speak.Speak()
|
|
ad = adapter.Adapter("openai")
|
|
|
|
|
|
while True:
|
|
text = sp.listen()
|
|
response = ad.chat(text)
|
|
sp.max_headroom(response)
|
|
|
|
print("Listening again...") |