feat: added face recognition and tests
ref: N25B-397
This commit is contained in:
@@ -401,23 +401,25 @@ class UserInterruptAgent(BaseAgent):
|
||||
to=[
|
||||
settings.agent_settings.vad_name,
|
||||
settings.agent_settings.visual_emotion_recognition_name,
|
||||
settings.agent_settings.face_agent_name,
|
||||
],
|
||||
sender=self.name,
|
||||
body="PAUSE",
|
||||
)
|
||||
await self.send(vad_message)
|
||||
# Voice Activity Detection and Visual Emotion Recognition agents
|
||||
self.logger.info("Sent pause command to VAD and VED agents.")
|
||||
self.logger.info("Sent pause command to perception agents.")
|
||||
else:
|
||||
# Send resume to VAD and VED agents
|
||||
vad_message = InternalMessage(
|
||||
to=[
|
||||
settings.agent_settings.vad_name,
|
||||
settings.agent_settings.visual_emotion_recognition_name,
|
||||
settings.agent_settings.face_agent_name,
|
||||
],
|
||||
sender=self.name,
|
||||
body="RESUME",
|
||||
)
|
||||
await self.send(vad_message)
|
||||
# Voice Activity Detection and Visual Emotion Recognition agents
|
||||
self.logger.info("Sent resume command to VAD and VED agents.")
|
||||
self.logger.info("Sent resume command to perception agents.")
|
||||
|
||||
Reference in New Issue
Block a user