diff --git a/fastchat/serve/moderation/moderator.py b/fastchat/serve/moderation/moderator.py index 90b0299ec..41751d29a 100644 --- a/fastchat/serve/moderation/moderator.py +++ b/fastchat/serve/moderation/moderator.py @@ -41,7 +41,7 @@ def reset_moderation_flags(self): self.text_flagged = False self.csam_flagged = False self.nsfw_flagged = False - + def image_and_text_moderation_filter( self, image: Image, text: str ) -> Dict[str, Dict[str, Union[str, Dict[str, float]]]]: