mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 19:45:31 +00:00
17 lines
353 B
Python
17 lines
353 B
Python
from modules import adapter, speak, spotify
|
|
|
|
|
|
sp = speak.Speak()
|
|
ad = adapter.Adapter("openai")
|
|
spot = spotify.Spotify()
|
|
|
|
|
|
while True:
|
|
text = sp.listen()
|
|
if text and "max" in text.lower():
|
|
response = ad.chat(text)
|
|
|
|
# sp.max_headroom(response)
|
|
sp.glitch_stream_output(response)
|
|
|
|
print("Listening again...") |