examples(moondream-chatbot): fix UserImageRequester

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-04 14:37:53 -08:00
parent 69f5c9b9d3
commit af9fd811cd

View File

@@ -106,8 +106,8 @@ class UserImageRequester(FrameProcessor):
UserImageRequestFrame(self.participant_id), FrameDirection.UPSTREAM
)
await self.push_frame(TextFrame("Describe the image in a short sentence."))
elif isinstance(frame, UserImageRawFrame):
await self.push_frame(frame)
else:
await self.push_frame(frame, direction)
class TextFilterProcessor(FrameProcessor):