MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/MachineLearning/comments/x9d4tc/deleted_by_user/inpdu1t/?context=3
r/MachineLearning • u/[deleted]
[deleted] — view deleted post
21 comments sorted by
View all comments
Show parent comment
2
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/
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/