Skip to content

Commit 086ec88

Browse files
committed
Merge branch 'safety_checker' of https://github.com/suzukimain/diffusers into safety_checker
2 parents 51fc901 + 1065c60 commit 086ec88

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/pipelines/stable_diffusion/safety_checker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ def forward_onnx(self, clip_input: torch.Tensor, images: torch.Tensor):
140140

141141
# increase this value to create a stronger `nsfw` filter
142142
# at the cost of increasing the possibility of filtering benign images
143-
#adjustment = 0.0
144143

145144
special_scores = special_cos_dist - self.special_care_embeds_weights + self.adjustment
146145
# special_scores = special_scores.round(decimals=3)

0 commit comments

Comments
 (0)