Skip to content

Commit

Permalink
disable image safety checker temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Aug 21, 2024
1 parent fbcc5e2 commit 4c73a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daras_ai_v2/safety_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4c73a9a

Please sign in to comment.