fix: when the AI is ready the mode label reports AI
This commit is contained in:
parent
b26d238f40
commit
61da16ed91
pwnagotchi
@ -39,4 +39,4 @@ def load(config, agent, epoch, from_disk=True):
|
||||
for key, value in config['params'].items():
|
||||
logging.info(" %s: %s" % (key, value))
|
||||
|
||||
return a2c
|
||||
return a2c
|
@ -153,7 +153,7 @@ class View(object):
|
||||
self.set('face', faces.AWAKE)
|
||||
|
||||
def on_ai_ready(self):
|
||||
self.set('mode', '')
|
||||
self.set('mode', ' AI')
|
||||
self.set('face', faces.HAPPY)
|
||||
self.set('status', self._voice.on_ai_ready())
|
||||
self.update()
|
||||
|
Loading…
x
Reference in New Issue
Block a user