From af9fd811cdec6c83e146297e27afab6d6726ce05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 4 Feb 2025 14:37:53 -0800 Subject: [PATCH] examples(moondream-chatbot): fix UserImageRequester --- examples/moondream-chatbot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):