examples(moondream-chatbot): fix UserImageRequester
This commit is contained in:
@@ -106,8 +106,8 @@ class UserImageRequester(FrameProcessor):
|
|||||||
UserImageRequestFrame(self.participant_id), FrameDirection.UPSTREAM
|
UserImageRequestFrame(self.participant_id), FrameDirection.UPSTREAM
|
||||||
)
|
)
|
||||||
await self.push_frame(TextFrame("Describe the image in a short sentence."))
|
await self.push_frame(TextFrame("Describe the image in a short sentence."))
|
||||||
elif isinstance(frame, UserImageRawFrame):
|
else:
|
||||||
await self.push_frame(frame)
|
await self.push_frame(frame, direction)
|
||||||
|
|
||||||
|
|
||||||
class TextFilterProcessor(FrameProcessor):
|
class TextFilterProcessor(FrameProcessor):
|
||||||
|
|||||||
Reference in New Issue
Block a user