diff --git a/examples/moondream-chatbot/bot.py b/examples/moondream-chatbot/bot.py index 4669607a7..5fb86ac79 100644 --- a/examples/moondream-chatbot/bot.py +++ b/examples/moondream-chatbot/bot.py @@ -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):