r/MachineLearning •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/uzibart Sep 09 '22

def dummy(images, **kwargs): return images, False pipe.safety_checker = dummy

Add this to your pipe.

source: https://www.reddit.com/r/StableDiffusion/comments/wxba44/disable_hugging_face_nsfw_filter_in_three_step/