From 4c73a9a24ccb707e71b28bccc27fd31f2cde0fe6 Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Wed, 21 Aug 2024 17:35:44 +0530 Subject: [PATCH] disable image safety checker temporarily --- daras_ai_v2/safety_checker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daras_ai_v2/safety_checker.py b/daras_ai_v2/safety_checker.py index 338d22614..d4bc801f1 100644 --- a/daras_ai_v2/safety_checker.py +++ b/daras_ai_v2/safety_checker.py @@ -16,8 +16,8 @@ def safety_checker(*, text: str | None = None, image: str | None = None): if text: safety_checker_text(text) - if image: - safety_checker_image(image) + # if image: + # safety_checker_image(image) def safety_checker_text(text_input: str):